#include "common/menumgr.h"
#define MAX_BTN 8
-#define MAX_BTN_COL 4
+#define MAX_BTN_COL 2
#define STATUS_DEFAULT "N/A"
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);
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);
.progress_value = NULL,
.progress_evas = NULL,
.update_cb = settings_clock_set_state_update_callbacks
- },*/
+ },
{
.id = MENU_SLEEP_TIMER,
.title = STR_SLEEP_TIMER,
.progress_value = NULL,
.progress_evas = NULL,
.update_cb = set_callback_for_sleep_timer_change
- },/*
+ },
{
.id = MENU_WAKEUP_TIMER,
.title = STR_WAKEUP_TIMER,