elementary/colorselector - elm_colorselector sizing related theme buf fix patch

Hi Mr. Park,

Please find attached theme bug fix patch of elm_colorselector.
Bug: 
1. Colorselector spreading its size to whole window.
2. Colorselector size not adjusting properly when shifted in between different modes. 

Change Log: Color selector Theme fixed to adjust size properly based on mode and demo
application appropriately fixed with proper size.

Signed-Off-By : Shilpa Singh<shilpa.singh@samsung.com>

Thanks & Regards
Shilpa Singh



SVN revision: 70869
This commit is contained in:
ChunEon Park 2012-05-08 08:51:09 +00:00
parent 08dab30e7b
commit 63ef69e2a6
2 changed files with 4 additions and 3 deletions

View File

@ -9,6 +9,7 @@ group {
scale: 1;
description { state: "default" 0.0;
align: 0.0 0.0;
fixed: 0 1;
rel1 {
relative: 0.0 0.0;
}
@ -39,6 +40,7 @@ group {
scale: 1;
description { state: "default" 0.0;
align: 0.0 1.0;
fixed: 0 1;
rel1 {
relative: 0.0 1.0;
to: "bottom_padding";
@ -65,7 +67,6 @@ group {
action: STATE_SET "default" 0.0;
target: "bottom_padding";
}
}
}

View File

@ -68,7 +68,7 @@ _both_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
Evas_Object *cs = data;
Evas_Object *win = evas_object_data_get(cs, "win");
elm_colorselector_mode_set(cs, ELM_COLORSELECTOR_BOTH);
evas_object_resize(win, 320, 535);
evas_object_resize(win, 320, 550);
}
void
@ -174,7 +174,7 @@ test_colorselector(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
evas_object_show(bt);
elm_box_pack_end(bx2, bt);
evas_object_resize(win, 320, 500);
evas_object_resize(win, 320, 550);
evas_object_show(win);
}
#endif