summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2016-01-09 23:50:42 +0000
committerAndy Williams <andy@andywilliams.me>2016-01-09 23:50:42 +0000
commit07990e0a3bd63bd5c984bb21751a6f08b3ac2ad7 (patch)
treeefd80b19131f0e5248c510fad1159b055da14353
parent5a72a6cf17d99c05fb8f1ee756f3568860adb641 (diff)
Scale the UI to be a little clearer
-rw-r--r--src/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 64536fe..ce24206 100644
--- a/src/main.c
+++ b/src/main.c
@@ -174,6 +174,8 @@ _create_button(Evas_Object *table, const char *text, int op, int x, int y,
174 evas_object_size_hint_weight_set(button, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 174 evas_object_size_hint_weight_set(button, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
175 evas_object_size_hint_align_set(button, EVAS_HINT_FILL, EVAS_HINT_FILL); 175 evas_object_size_hint_align_set(button, EVAS_HINT_FILL, EVAS_HINT_FILL);
176 elm_object_text_set(button, text); 176 elm_object_text_set(button, text);
177
178 elm_object_scale_set(button, 2.0);
177 evas_object_smart_callback_add(button, "clicked", _button_cb, (void *)(uintptr_t)op); 179 evas_object_smart_callback_add(button, "clicked", _button_cb, (void *)(uintptr_t)op);
178 180
179 elm_table_pack(table, button, x, y, w, 1); 181 elm_table_pack(table, button, x, y, w, 1);
@@ -279,11 +281,12 @@ _create_gui(void)
279 ecore_event_handler_add (ECORE_EVENT_KEY_DOWN, _key_down_cb, NULL); 281 ecore_event_handler_add (ECORE_EVENT_KEY_DOWN, _key_down_cb, NULL);
280 282
281 evas_object_show(win); 283 evas_object_show(win);
282 evas_object_resize(win, 240, 320); 284 evas_object_resize(win, 260, 300);
283 285
284 readout = elm_label_add(table); 286 readout = elm_label_add(table);
285 evas_object_size_hint_weight_set(readout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 287 evas_object_size_hint_weight_set(readout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
286 evas_object_size_hint_align_set(readout, 1.0, EVAS_HINT_FILL); 288 evas_object_size_hint_align_set(readout, 1.0, EVAS_HINT_FILL);
289 elm_object_scale_set(readout, 2.0);
287 elm_table_pack(table, readout, 0, 0, 4, 1); 290 elm_table_pack(table, readout, 0, 0, 4, 1);
288 evas_object_show(readout); 291 evas_object_show(readout);
289 292