diff options
author | ChunEon Park <hermet@hermet.pe.kr> | 2012-03-09 13:04:00 +0000 |
---|---|---|
committer | ChunEon Park <hermet@hermet.pe.kr> | 2012-03-09 13:04:00 +0000 |
commit | 84dd8252921079e98b99b65cc98a8e288426a7bc (patch) | |
tree | 025bc96b284286810fb2cdf33522dc47e1da13ed /doc/widgets | |
parent | 0f8d87ab6d7e128a4392d2874168df6ba359f2c9 (diff) | |
download | elementary-84dd8252921079e98b99b65cc98a8e288426a7bc.tar.gz |
elemenatry/colorselector - finally first implementation going on
Signed-Off-By: ShilpaOnkar Singh(shilpa.singh@samsung.com)
SVN revision: 69100
Diffstat (limited to 'doc/widgets')
-rw-r--r-- | doc/widgets/widget_preview_colorselector.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/widgets/widget_preview_colorselector.c b/doc/widgets/widget_preview_colorselector.c index f73703907..784a2d67b 100644 --- a/doc/widgets/widget_preview_colorselector.c +++ b/doc/widgets/widget_preview_colorselector.c @@ -1,8 +1,14 @@ #include "widget_preview_tmpl_head.c" +Evas_Object *bx = elm_box_add(win); +evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); +evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); +elm_win_resize_object_add(win, bx); +evas_object_show(bx); Evas_Object *o = elm_colorselector_add(win); evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); -elm_win_resize_object_add(win, o); +evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL);; +elm_box_pack_end(bx, o); evas_object_show(o); #include "widget_preview_tmpl_foot.c" |