ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/apps/equate.git/commit/?id=07990e0a3bd63bd5c984bb21751a6f08b3ac2ad7

commit 07990e0a3bd63bd5c984bb21751a6f08b3ac2ad7
Author: Andy Williams <a...@andywilliams.me>
Date:   Sat Jan 9 23:50:42 2016 +0000

    Scale the UI to be a little clearer
---
 src/main.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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,
    evas_object_size_hint_weight_set(button, EVAS_HINT_EXPAND, 
EVAS_HINT_EXPAND);
    evas_object_size_hint_align_set(button, EVAS_HINT_FILL, EVAS_HINT_FILL);
    elm_object_text_set(button, text);
+
+   elm_object_scale_set(button, 2.0);
    evas_object_smart_callback_add(button, "clicked", _button_cb, (void 
*)(uintptr_t)op);
 
    elm_table_pack(table, button, x, y, w, 1);
@@ -279,11 +281,12 @@ _create_gui(void)
    ecore_event_handler_add (ECORE_EVENT_KEY_DOWN, _key_down_cb, NULL);
 
    evas_object_show(win);
-   evas_object_resize(win, 240, 320);
+   evas_object_resize(win, 260, 300);
 
    readout = elm_label_add(table);
    evas_object_size_hint_weight_set(readout, EVAS_HINT_EXPAND, 
EVAS_HINT_EXPAND);
    evas_object_size_hint_align_set(readout, 1.0, EVAS_HINT_FILL);
+   elm_object_scale_set(readout, 2.0);
    elm_table_pack(table, readout, 0, 0, 4, 1);
    evas_object_show(readout);
 

-- 


Reply via email to