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

List:       kde-commits
Subject:    =?utf-8?q?=5Bplasma-mobile=5D_shell/widgetsexplorer/qml=3A_infoP?=
From:       Marco Martin <notmart () gmail ! com>
Date:       2011-02-28 21:40:06
Message-ID: 20110228214006.53C81A60D1 () git ! kde ! org
[Download RAW message or body]

Git commit 82f539fed987f1a0c591dd74b47324d63787cb80 by Marco Martin.
Committed on 28/02/2011 at 22:35.
Pushed by mart into branch 'master'.

infoPanel sizes in states:

M  +4    -11   shell/widgetsexplorer/qml/view.qml     

http://commits.kde.org/plasma-mobile/82f539fed987f1a0c591dd74b47324d63787cb80

diff --git a/shell/widgetsexplorer/qml/view.qml b/shell/widgetsexplorer/qml/view.qml
index 2c66db6..65f83d6 100644
--- a/shell/widgetsexplorer/qml/view.qml
+++ b/shell/widgetsexplorer/qml/view.qml
@@ -23,6 +23,8 @@ Rectangle {
                 target: infoPanel;
                 x: parent.width
                 y: 0
+                width: parent.width/4
+                height: parent.height
             }
             PropertyChanges {
                 target: appletsView;
@@ -42,9 +44,10 @@ Rectangle {
             name: "vertical"
             PropertyChanges {
                 target: infoPanel;
-                height: 200
                 x: 0
                 y: parent.height
+                width: parent.width
+                height: parent.height/4
             }
             PropertyChanges {
                 target: appletsView;
@@ -128,16 +131,6 @@ Rectangle {
 
         state: "hidden"
 
-        width: if (widgetsExplorer.state == "horizontal")
-                   parent.width/4
-               else
-                   parent.width
-
-        height: if (widgetsExplorer.state == "horizontal")
-                    parent.height
-                else
-                    parent.height/4
-
         color: Qt.rgba(0,0,0,0.4)
 
         Flow {


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

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