From 045f1766b52e88240d410e83739622d1de858857 Mon Sep 17 00:00:00 2001 From: Alastair Poole Date: Mon, 29 Jun 2020 22:15:21 +0100 Subject: [PATCH] util: size and shades --- src/bin/ui/ui_util.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/bin/ui/ui_util.c b/src/bin/ui/ui_util.c index 867f132..9522f47 100644 --- a/src/bin/ui/ui_util.c +++ b/src/bin/ui/ui_util.c @@ -31,7 +31,7 @@ evisum_ui_tab_add(Evas_Object *parent, Evas_Object **alias, const char *text, evas_object_size_hint_align_set(label, FILL, FILL); evas_object_show(label); elm_object_text_set(label, - eina_slstr_printf("%s", text)); + eina_slstr_printf("%s", text)); elm_layout_content_set(button, "elm.swallow.content", label); elm_table_pack(tbl, rect, 0, 0, 1, 1); @@ -296,7 +296,7 @@ evisum_about_window_show(void *data) evas_object_size_hint_align_set(bg, FILL, FILL); elm_bg_file_set(bg, evisum_icon_path_get("ladyhand"), NULL); elm_win_resize_object_add(win, bg); - evas_object_color_set(bg, 225, 225, 225, 255); + evas_object_color_set(bg, 160, 160, 160, 255); evas_object_show(bg); evas_object_size_hint_min_set(bg, 320 * elm_config_scale_get(), 320 * elm_config_scale_get()); @@ -314,17 +314,13 @@ evisum_about_window_show(void *data) version = elm_label_add(win); evas_object_show(version); - evas_object_color_set(version, 47, 153, 255, 255); elm_object_text_set(version, - eina_slstr_printf("evisum %s", - PACKAGE_VERSION)); + eina_slstr_printf("%s", PACKAGE_VERSION)); btn = elm_button_add(win); evas_object_size_hint_align_set(btn, 0.5, 0.9); evas_object_size_hint_weight_set(btn, EXPAND, EXPAND); - evas_object_color_set(btn, 128, 128, 128, 196); elm_object_text_set(btn, _("Okay!")); - evas_object_show(btn); evas_object_smart_callback_add(btn, "clicked", _win_del_cb, win);