[GUI] Fix in te disabled mode of the buttons used in clock view. 11/130711/1
authorMichal Skorupinski <m.skorupinsk@samsung.com>
Tue, 23 May 2017 11:09:21 +0000 (13:09 +0200)
committerMichal Skorupinski <m.skorupinsk@samsung.com>
Tue, 23 May 2017 11:09:21 +0000 (13:09 +0200)
Change-Id: Ieb432dc920e87220fe73cd088c7801893d4e0928
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
res/widget/button.edc

index e84aff0..61e249b 100755 (executable)
@@ -978,26 +978,33 @@ group {
                        description {
                                state, "default" 0.0;
                                align, 0.5 0.5;
-                               rel1 {
-                                       relative, 0.0 0.0;
-                                       to, "area";
-                               }
-                               rel2 {
-                                       relative, 1.0 1.0;
-                                       to, "area";
-                               }
+                               rel1.relative, 0.0 0.0;
+                               rel2.relative, 1.0 1.0;
                                text.style: "style.date_time";
                                color, COLOR_TEXT_ITEM;
                        }
                        description {
                                state, "focused" 0.0;
                                inherit, "default" 0.0;
+                               rel1.relative, 0.0 0.0;
+                               rel2.relative, 1.0 1.0;
+                               text.style: "style.date_time";
                        }
                        description {
                                state, "mouse_down" 0.0;
                                inherit, "default" 0.0;
+                               rel1.relative, 0.0 0.0;
+                               rel2.relative, 1.0 1.0;
+                               text.style: "style.date_time";
                                color, 255 255 255 255;
                        }
+                       description {
+                               state, "disabled" 0.0;
+                               inherit, "default" 0.0;
+                               rel1.relative, 0.0 0.0;
+                               rel2.relative, 1.0 1.0;
+                               color, COLOR_TEXT_DISABLE;
+                       }
                }
        }
 }