[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [plasma-workspace] applets/digital-clock/package/contents/ui: [digital-clock] Simplify the sizing lo
From:       Martin Klapetek <mklapetek () kde ! org>
Date:       2015-07-24 9:53:26
Message-ID: E1ZIZfS-0004cn-9K () scm ! kde ! org
[Download RAW message or body]

Git commit d6edf888ea432a068d8c67d1dce8bbffe41798d0 by Martin Klapetek.
Committed on 24/07/2015 at 09:44.
Pushed by mklapetek into branch 'master'.

[digital-clock] Simplify the sizing logic

M  +1    -1    applets/digital-clock/package/contents/ui/DigitalClock.qml

http://commits.kde.org/plasma-workspace/d6edf888ea432a068d8c67d1dce8bbffe41=
798d0

diff --git a/applets/digital-clock/package/contents/ui/DigitalClock.qml b/a=
pplets/digital-clock/package/contents/ui/DigitalClock.qml
index a142d33..9506078 100644
--- a/applets/digital-clock/package/contents/ui/DigitalClock.qml
+++ b/applets/digital-clock/package/contents/ui/DigitalClock.qml
@@ -62,7 +62,7 @@ Item {
                 target: main
                 Layout.fillHeight: true
                 Layout.fillWidth: false
-                Layout.minimumWidth: Math.max(main.showDate ? sizehelper.p=
aintedWidth + timezoneLabel.paintedWidth : Math.max(sizehelper.paintedWidth=
, timezoneLabel.paintedWidth), dateLabel.width)
+                Layout.minimumWidth: Math.max(labelsFlow.width, dateLabel.=
paintedWidth)
                 Layout.maximumWidth: Layout.minimumWidth
 =

             }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic