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

List:       kde-commits
Subject:    [kinfocenter/Plasma/5.6] Modules/energy/package/contents/ui: Two small layout improvements in energy
From:       Sebastian_Kügler <sebas () kde ! org>
Date:       2016-03-09 19:16:45
Message-ID: E1adjbB-0005gg-Nd () scm ! kde ! org
[Download RAW message or body]

Git commit 7104e4ef5649ed4ca83ab12e5187b2297ca3df90 by Sebastian K=C3=BCgle=
r.
Committed on 09/03/2016 at 19:13.
Pushed by sebas into branch 'Plasma/5.6'.

Two small layout improvements in energy module

M  +2    -2    Modules/energy/package/contents/ui/main.qml

http://commits.kde.org/kinfocenter/7104e4ef5649ed4ca83ab12e5187b2297ca3df90

diff --git a/Modules/energy/package/contents/ui/main.qml b/Modules/energy/p=
ackage/contents/ui/main.qml
index 5c0575a..a8b0b80 100644
--- a/Modules/energy/package/contents/ui/main.qml
+++ b/Modules/energy/package/contents/ui/main.qml
@@ -30,7 +30,7 @@ import org.kde.plasma.extras 2.0 as PlasmaExtras
 =

 import org.kde.plasma.workspace.components 2.0 as WorkspaceComponents
 =

-Rectangle {
+Item {
     id: root
     property QtObject currentBattery: null
     property string currentUdi: ""
@@ -104,7 +104,6 @@ Rectangle {
 =

     width: units.gridUnit * 25
     height: !!currentBattery ? units.gridUnit * 25 : units.gridUnit * 12
-    color: syspal.window
 =

     SystemPalette {
         id: syspal
@@ -294,6 +293,7 @@ Rectangle {
                     horizontalAlignment: Text.AlignHCenter
                     verticalAlignment: Text.AlignVCenter
                     text: i18n("This type of history is currently not avai=
lable for this device.")
+                    wrapMode: Text.WordWrap
                     visible: !graph.visible
                 }
             }

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

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