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

List:       kde-commits
Subject:    [plasma-mobile] applets/active-welcome/contents/code: Fix invisible
From:       Sebastian_Kügler <sebas () kde ! org>
Date:       2011-09-30 23:55:57
Message-ID: 20110930235557.C7AC6A60B9 () git ! kde ! org
[Download RAW message or body]

Git commit 992488f6d0eb24a5e67fde7983ff1ac642ac3ab3 by Sebastian Kügler.
Committed on 01/10/2011 at 01:53.
Pushed by sebas into branch 'master'.

Fix invisible opacity to 0

M  +12   -11   applets/active-welcome/contents/code/welcome.qml

http://commits.kde.org/plasma-mobile/992488f6d0eb24a5e67fde7983ff1ac642ac3ab3

diff --git a/applets/active-welcome/contents/code/welcome.qml \
b/applets/active-welcome/contents/code/welcome.qml index 40b379b..4dc7df2 100644
--- a/applets/active-welcome/contents/code/welcome.qml
+++ b/applets/active-welcome/contents/code/welcome.qml
@@ -32,11 +32,16 @@ Item {
     state: "StartPage"
     clip: true
 
+    PlasmaCore.Theme {
+        id: theme
+    }
+
     Item {
         //anchors.fill: parent
         anchors.top: parent.top
         anchors.left: parent.left
         anchors.right: parent.right
+        anchors.bottom: parent.bottom
         id: contentArea
         clip: true
     }
@@ -59,14 +64,10 @@ Item {
         anchors.bottom: parent.bottom
     }
 
-
-    PlasmaCore.Theme {
-        id: theme
-    }
-
     StartPage {
         id: startPage
         width: contentArea.width
+        anchors.fill: contentArea
     }
 
     ActivitiesPage {
@@ -84,16 +85,16 @@ Item {
             name: "StartPage"
             PropertyChanges { target: previousIcon; opacity: 0.0}
             PropertyChanges { target: startPage; opacity: 1.0}
-            PropertyChanges { target: activitiesPage; opacity: 0.2}
-            PropertyChanges { target: appsPage; opacity: 0.2}
+            PropertyChanges { target: activitiesPage; opacity: 0.0}
+            PropertyChanges { target: appsPage; opacity: 0.0}
             PropertyChanges { target: startPage; x: contentArea.x; y: contentArea.y \
                }
             PropertyChanges { target: activitiesPage; x: (contentArea.x + \
                activitiesPage.width); y: contentArea.y }
             PropertyChanges { target: appsPage; x: (contentArea.x + appsPage.width); \
y: contentArea.y }  },
         State {
             name: "ActivitiesPage"
-            PropertyChanges { target: startPage; opacity: 0.2}
-            PropertyChanges { target: appsPage; opacity: 0.2}
+            PropertyChanges { target: startPage; opacity: 0.0}
+            PropertyChanges { target: appsPage; opacity: 0.0}
             PropertyChanges { target: activitiesPage; opacity: 1.0}
             PropertyChanges { target: activitiesPage; x: contentArea.x; y: \
                contentArea.y }
             PropertyChanges { target: startPage; x: (contentArea.x - \
activitiesPage.width); y: contentArea.y } @@ -102,8 +103,8 @@ Item {
         State {
             name: "AppsPage"
             PropertyChanges { target: nextIcon; opacity: 0.0}
-            PropertyChanges { target: startPage; opacity: 0.2}
-            PropertyChanges { target: activitiesPage; opacity: 0.2}
+            PropertyChanges { target: startPage; opacity: 0.0}
+            PropertyChanges { target: activitiesPage; opacity: 0.0}
             PropertyChanges { target: appsPage; opacity: 1.0}
             PropertyChanges { target: appsPage; x: contentArea.x; y: contentArea.y }
             PropertyChanges { target: startPage; x: (contentArea.x - \
startPage.width); y: contentArea.y }


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

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