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

List:       kde-commits
Subject:    [kdevelop/4.6] app/welcomepage: WelcomePage: Make left sidebar width dynamic
From:       Kevin Funk <kevin () kfunk ! org>
Date:       2013-12-28 20:14:00
Message-ID: E1Vx0Gm-0007OZ-O1 () scm ! kde ! org
[Download RAW message or body]

Git commit 09e894c4b590381d17eccd44c45664bedc29d55c by Kevin Funk.
Committed on 28/12/2013 at 20:11.
Pushed by kfunk into branch '4.6'.

WelcomePage: Make left sidebar width dynamic

Let it shrink to the minimum if possible (saves space)

M  +1    -1    app/welcomepage/StandardBackground.qml

http://commits.kde.org/kdevelop/09e894c4b590381d17eccd44c45664bedc29d55c

diff --git a/app/welcomepage/StandardBackground.qml b/app/welcomepage/Stand=
ardBackground.qml
index a675dc1..8a60d8e 100644
--- a/app/welcomepage/StandardBackground.qml
+++ b/app/welcomepage/StandardBackground.qml
@@ -38,7 +38,7 @@ Rectangle
             left: parent.left
             margins: parent.margins
         }
-        width: 256
+        width: toolsLoader.width + 2*toolsLoader.margins
         height: toolsLoader.height + 2*toolsLoader.margins
         Loader {
             id: toolsLoader

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

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