From: KyungTae Kim Date: Thu, 16 May 2013 02:11:05 +0000 (+0900) Subject: Fix TIZEN_THEME_STYLE_WORKAROUND to initialize paddingLeft for ComboBox X-Git-Tag: submit/tizen_2.2/20130714.131554~214 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d2af1cb582db78c43cc5555dd7116fb10df330af;p=framework%2Fweb%2Fwebkit-efl.git Fix TIZEN_THEME_STYLE_WORKAROUND to initialize paddingLeft for ComboBox [Title] Fix TIZEN_THEME_STYLE_WORKAROUND to initialize paddingLeft for ComboBox [Issue] N_SE-38600 [Problem] There are no left padding for the text in ComboBox [Cause] With TIZEN_THEME_STYLE_WORKAROUND, the paddingLeft was initialized to 0. [Solution] Initializing the paddingLeft to proper value. Change-Id: I47fa13fee0bf78ccadd5d2913e765de699ffc083 --- diff --git a/Source/WebCore/platform/efl/RenderThemeEfl.cpp b/Source/WebCore/platform/efl/RenderThemeEfl.cpp index 4fac9e9..ef17d78 100755 --- a/Source/WebCore/platform/efl/RenderThemeEfl.cpp +++ b/Source/WebCore/platform/efl/RenderThemeEfl.cpp @@ -913,6 +913,7 @@ void RenderThemeEfl::adjustMenuListStyle(StyleResolver* styleResolver, RenderSty #if ENABLE(TIZEN_THEME_STYLE_WORKAROUND) if (style->fontSize() >= RENDER_THEME_EFL_CONTROL_FONT_SIZE) { const struct ThemePartDesc* desc = m_partDescs + (size_t)ComboBox; + style->setPaddingLeft(desc->padding.left()); style->setPaddingRight(desc->padding.right()); } else #endif