Some functionalities are hidden before prebeta release(2) 58/62558/3 accepted/tizen/tv/20160317.040205 submit/tizen/20160316.143954
authorRadek Kintop <r.kintop@samsung.com>
Wed, 16 Mar 2016 13:12:08 +0000 (14:12 +0100)
committerRadek Kintop <r.kintop@samsung.com>
Wed, 16 Mar 2016 14:14:02 +0000 (15:14 +0100)
Change-Id: Ia46b836bfb2c4d7eb8489cb82f41e960dec5d30a
Signed-off-by: Radek Kintop <r.kintop@samsung.com>
res/layout/system.edc
src/common/menumgr.c
src/common/utils.c
src/layout/layout_system.c

index b425495..318f562 100644 (file)
@@ -40,7 +40,7 @@ group {
                                }
                                rel2 {
                                        to, "area";
-                                       relative, 0.0 0.0;
+                                       relative, 0.25 0.0;
                                }
                                align, 0.0 0.0;
                                fixed, 1 1;
@@ -55,7 +55,7 @@ group {
                                min, 65 148;
                                rel1 {
                                        to, "area";
-                                       relative, 1.0 1.0;
+                                       relative, 0.75 1.0;
                                }
                                rel2 {
                                        to, "area";
index 4c1ce9e..2515342 100644 (file)
@@ -27,7 +27,7 @@
 #include "common/menumgr.h"
 
 #define MAX_BTN 8
-#define MAX_BTN_COL 4
+#define MAX_BTN_COL 2
 
 #define STATUS_DEFAULT "N/A"
 
@@ -222,6 +222,7 @@ struct menumgr *menumgr_create(Evas_Object *table, Evas_Object *tab_menu_btn,
 
                col = i % MAX_BTN_COL;
                row = i / MAX_BTN_COL;
+               _DBG("i %d col %d row %d", i, col, row);
 
                elm_table_pack(table, btn, col, row, 1, 1);
 
index c958098..36b4390 100644 (file)
@@ -193,9 +193,10 @@ Evas_Object *utils_add_table(Evas_Object *parent, int padding_x, int padding_y)
 
        elm_table_homogeneous_set(table, EINA_TRUE);
        elm_table_padding_set(table, padding_x, padding_y);
-       evas_object_size_hint_weight_set(table, EVAS_HINT_EXPAND,
+       evas_object_size_hint_weight_set(table, 0.5,
                        EVAS_HINT_EXPAND);
-       evas_object_size_hint_align_set(table, EVAS_HINT_FILL, EVAS_HINT_FILL);
+       //evas_object_size_hint_align_set(table, EVAS_HINT_FILL, EVAS_HINT_FILL);
+       //evas_object_size_hint_align_set(table, 0.5, EVAS_HINT_FILL);
 
        evas_object_show(table);
 
index 49ff6c9..9135cdb 100644 (file)
@@ -88,7 +88,7 @@ static struct menumgr_info menu_info[] = {
                .progress_value = NULL,
                .progress_evas = NULL,
                .update_cb = settings_clock_set_state_update_callbacks
-       },*/
+       },
        {
                .id = MENU_SLEEP_TIMER,
                .title = STR_SLEEP_TIMER,
@@ -101,7 +101,7 @@ static struct menumgr_info menu_info[] = {
                .progress_value = NULL,
                .progress_evas = NULL,
                .update_cb = set_callback_for_sleep_timer_change
-       },/*
+       },
        {
                .id = MENU_WAKEUP_TIMER,
                .title = STR_WAKEUP_TIMER,