summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Poole <netstar@gmail.com>2020-04-17 13:26:38 +0100
committerAlastair Poole <netstar@gmail.com>2020-04-17 13:26:38 +0100
commitb22dc42debc726b79a6f007a0966e2851a971a79 (patch)
tree2357f35ad31e2f708c36d353cb4b9be5b58b4ba0
parent3797ca2c958b951dd6e70123ccf503358d5f6843 (diff)
ui: center win on show.HEADmaster
-rw-r--r--src/bin/extra_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/extra_main.c b/src/bin/extra_main.c
index 4980047..43a2123 100644
--- a/src/bin/extra_main.c
+++ b/src/bin/extra_main.c
@@ -106,6 +106,8 @@ extra_win_setup(void)
106 evas_object_resize(_ui.win, 420 * elm_config_scale_get(), 106 evas_object_resize(_ui.win, 420 * elm_config_scale_get(),
107 280 * elm_config_scale_get()); 107 280 * elm_config_scale_get());
108 108
109 elm_win_center(_ui.win, EINA_TRUE, EINA_TRUE);
110
109 evas_object_show(_ui.win); 111 evas_object_show(_ui.win);
110 112
111 return _ui.win; 113 return _ui.win;