[UI] Fixed hoversel display 18/61418/6
authorPiotr Pruski <p.pruski@samsung.com>
Mon, 7 Mar 2016 16:38:38 +0000 (17:38 +0100)
committerPiotr Pruski <p.pruski@samsung.com>
Wed, 9 Mar 2016 13:20:24 +0000 (14:20 +0100)
Change-Id: I3d4af3a3d2f8b5d1731061acdcaa686446da86c3
Signed-off-by: Piotr Pruski <p.pruski@samsung.com>
src/common/utils.c

index ed7df1d..24dae40 100644 (file)
 
 #include <Elementary.h>
 
-#include "common/inputmgr.h"
 #include "app_debug.h"
 #include "app_string.h"
-#include "define.h"
+#include "common/inputmgr.h"
 #include "common/utils.h"
+#include "define.h"
 
 Evas_Object *utils_add_layout(Evas_Object *parent, const char *group,
                Eina_Bool win_resize)
@@ -397,6 +397,9 @@ Evas_Object *utils_add_hoversel(Evas_Object *parent, const char *part,
                return NULL;
        }
 
+       evas_object_size_hint_weight_set(hoversel, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+       evas_object_size_hint_align_set(hoversel, EVAS_HINT_FILL, EVAS_HINT_FILL);
+
        elm_hoversel_hover_parent_set(hoversel, parent);
        elm_hoversel_horizontal_set(hoversel, EINA_FALSE);
        elm_object_text_set(hoversel, opt_text[selected_opt]);