toggleSwitch : bug fix
authorJinhyuk Jun <jinhyuk.jun@samsung.com>
Fri, 1 Feb 2013 05:50:31 +0000 (14:50 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Thu, 7 Feb 2013 05:53:01 +0000 (14:53 +0900)
set background-size because window chrome can't calculate size

Change-Id: I8841db59c8b5089a41f8c4583d962597e05707c1

src/themes/tizen/common/jquery.mobile.tizen.toggleswitch.less

index a2732af..c6f5ceb 100644 (file)
@@ -14,13 +14,14 @@ div.ui-slider.ui-toggle-switch {
                height: 35 * @unit_base;
                background-size : 100% 100%;
                background-repeat : no-repeat;
+               background-color : transparent;
 
                &.ui-slider-label-a {
-                       background: url(images/00_button_on.png) no-repeat;
+                       background-image : url(images/00_button_on.png);
                }
 
                &.ui-slider-label-b {
-                       background: url(images/00_button_off.png) no-repeat;
+                       background-image : url(images/00_button_off.png);
                }
        }