projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
824046a
)
[*][button] change _sizing_eval for scale
author
Jaehwan Kim
<jae.hwan.kim@samsung.com>
Tue, 20 Sep 2011 05:15:05 +0000
(14:15 +0900)
committer
Jaehwan Kim
<jae.hwan.kim@samsung.com>
Tue, 20 Sep 2011 05:15:05 +0000
(14:15 +0900)
src/lib/elm_button.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_button.c
b/src/lib/elm_button.c
index
33ed125
..
21aed4a
100644
(file)
--- a/
src/lib/elm_button.c
+++ b/
src/lib/elm_button.c
@@
-214,16
+214,12
@@
_sizing_eval(Evas_Object *obj)
{
Widget_Data *wd = elm_widget_data_get(obj);
Evas_Coord minw = -1, minh = -1;
- Evas_Coord w, h;
if (!wd) return;
if (wd->delete_me) return;
elm_coords_finger_size_adjust(1, &minw, 1, &minh);
edje_object_size_min_restricted_calc(wd->btn, &minw, &minh, minw, minh);
elm_coords_finger_size_adjust(1, &minw, 1, &minh);
- evas_object_size_hint_min_get(obj, &w, &h);
- if (h > minh) minh = h;
-
evas_object_size_hint_min_set(obj, minw, minh);
}