up spin button is now shown
authorRyuan Choi <ryuan.choi@samsung.com>
Wed, 17 Jul 2013 13:51:13 +0000 (22:51 +0900)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Thu, 18 Jul 2013 00:47:42 +0000 (00:47 +0000)
[Title] up spin button is now shown
[Issue#] N/A
[Problem] http://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_max_min
[Cause] when input is small, edc was wrongly reduced.
[Solution] Fixed edc properly.
           offset is not a way to show this buttons accordingly.
           Instead, used align.

Change-Id: I843058db8e99df6c487e79ca29c5637a1db97cc2

Source/WebKit/efl/DefaultTheme/widget/spinner/spinner.edc

index 2b6ccc3..c3f9078 100644 (file)
@@ -82,13 +82,13 @@ group {
                 min: 9 7;
                 max: 9 7;
                 fixed: 1 1;
+                align: 0.5 0;
                 rel1 {
                     relative: 0.0 0.0;
-                    offset: 0 16;
                 }
                 rel2 {
                     relative: 1.0 0.0;
-                    offset: -1 -1;
+                    offset: -1 0;
                 }
                 image.normal: "widget/spinner/sp_up_default.png";
             }
@@ -111,13 +111,14 @@ group {
                 min: 9 7;
                 max: 9 7;
                 fixed: 1 1;
+                align: 0.5 1;
                 rel1 {
                     relative: 0.0 1.0;
                     offset: 0 0;
                 }
                 rel2 {
                     relative: 1.0 1.0;
-                    offset: -1 -18;
+                    offset: -1 0;
                 }
                 image.normal: "widget/spinner/sp_down_default.png";
             }