elementary/popup : Fixing a bug. Please refer following message from

Rajeev. Thanks Rajeev.
Existing Issue before this change:
   The popup width gets scaled twice when theme_hook gets invoked
because of some reason such as style change, change in elementary
scale factor, change in widget scaling etc.

Change Description:
  Removed setting scaling of internal object wd->base from theme_hook
as it is set to the widget scaling automatically.
Signed-Off-By: RAJEEV RANJAN<rajeev.r@samsumg.com>


SVN revision: 69492
This commit is contained in:
WooHyun Jung 2012-03-18 10:04:49 +00:00
parent 722c230edd
commit 6a4dff3a17
1 changed files with 0 additions and 2 deletions

View File

@ -173,8 +173,6 @@ _theme_hook(Evas_Object *obj)
if (!wd) return;
elm_layout_theme_set(wd->base, "popup", "base", elm_widget_style_get(obj));
elm_widget_scale_set(wd->base, elm_widget_scale_get(obj) *
_elm_config->scale);
_elm_widget_mirrored_reload(obj);
_mirrored_set(obj, elm_widget_mirrored_get(obj));
if (wd->button_count)