[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_put_i?=
From: Marco Martin <notmart () gmail ! com>
Date: 2011-02-28 21:40:06
Message-ID: 20110228214006.588CFA60D3 () git ! kde ! org
[Download RAW message or body]
Git commit 390763a66779972a40dd038c9efa493f8e409f06 by Marco Martin.
Committed on 28/02/2011 at 22:31.
Pushed by mart into branch 'master'.
put infoPanel positions in states:
M +4 -18 shell/widgetsexplorer/qml/view.qml
http://commits.kde.org/plasma-mobile/390763a66779972a40dd038c9efa493f8e409f06
diff --git a/shell/widgetsexplorer/qml/view.qml b/shell/widgetsexplorer/qml/view.qml
index c61d5bf..2c66db6 100644
--- a/shell/widgetsexplorer/qml/view.qml
+++ b/shell/widgetsexplorer/qml/view.qml
@@ -21,10 +21,8 @@ Rectangle {
name: "horizontal"
PropertyChanges {
target: infoPanel;
- anchors.top: widgetsExplorer.top
- anchors.bottom: widgetsExplorer.bottom
- anchors.left: undefined
- anchors.right: undefined
+ x: parent.width
+ y: 0
}
PropertyChanges {
target: appletsView;
@@ -44,11 +42,9 @@ Rectangle {
name: "vertical"
PropertyChanges {
target: infoPanel;
- anchors.top: undefined
- anchors.bottom: undefined
- anchors.left: widgetsExplorer.left
- anchors.right: widgetsExplorer.right
height: 200
+ x: 0
+ y: parent.height
}
PropertyChanges {
target: appletsView;
@@ -132,16 +128,6 @@ Rectangle {
state: "hidden"
- x: if (widgetsExplorer.state == "horizontal")
- parent.width
- else
- 0
-
- y: if (widgetsExplorer.state == "vertical")
- parent.height
- else
- 0
-
width: if (widgetsExplorer.state == "horizontal")
parent.width/4
else
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic