opacity for MessageDialog { id: mesgDialog state: 'hidden' } will make dial page...
[profile/ivi/hfdialer.git] / qml / AbstractDialog.qml
index 0f9adf2..fc05d61 100644 (file)
@@ -19,15 +19,15 @@ Item {
     states: [
         State {
             name: 'shown'
-            PropertyChanges {target: root; opacity: 1.0}
+            PropertyChanges {target: root; visible: true}
         },
         State {
             name: 'hidden'
-            PropertyChanges {target: root; opacity: 0.0}
+            PropertyChanges {target: root; visible: false}
         }
     ]
 
-    Behavior on opacity {PropertyAnimation {duration: 250}}
+    Behavior on visible {PropertyAnimation {duration: 250}}
 
     Rectangle {
         id: blind