From 76c0b730c5661871742ca5ff057213f1c3f7b7e9 Mon Sep 17 00:00:00 2001 From: "hjnim.kim" Date: Sun, 20 Jan 2013 09:58:15 +0900 Subject: [PATCH] Button: custom button icon path, margin have been changed Button top, bottom icon margin has been changed Demo custom button icon path has been changed Change-Id: I21872c3c474d22f74ad283e1f00d3c65fa57c840 --- .../tizen-winsets/widgets/button/buttonNolist.html | 30 +++++++++++----------- src/themes/tizen/common/jquery.mobile.button.less | 2 +- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/demos/tizen-winsets/widgets/button/buttonNolist.html b/demos/tizen-winsets/widgets/button/buttonNolist.html index 863bc30..640eb69 100644 --- a/demos/tizen-winsets/widgets/button/buttonNolist.html +++ b/demos/tizen-winsets/widgets/button/buttonNolist.html @@ -41,34 +41,34 @@ *Button Icon Position top, bottom (with inline)
PositionTop

PositionBottom

-
PositionTop
-
PositionBottom

+
PositionTop
+
PositionBottom

HTML Code:

+
PositionTop
+
PositionBottom


*Custom Button:
-
Custom
-
Custom Top
-
Custom Bottom
-
Custom width,height
-

+
Custom
+
Custom Top
+
Custom Bottom
+
Custom width,height
+

HTML Code: - + CSS Code:
*Input Type = "Button" diff --git a/src/themes/tizen/common/jquery.mobile.button.less b/src/themes/tizen/common/jquery.mobile.button.less index 271f11c..1d7b4c2 100755 --- a/src/themes/tizen/common/jquery.mobile.button.less +++ b/src/themes/tizen/common/jquery.mobile.button.less @@ -144,7 +144,7 @@ } .ui-btn-box-s.ui-btn-icon-top .ui-icon, .ui-btn-box-s.ui-btn-icon-bottom .ui-icon { - margin-left: -64 * @unit_base / 2; + margin-left: -32 * @unit_base / 2; left: 50%; } .tizen-icon-common -- 2.7.4