forked from enlightenment/edi
welcome: center file selector window when opening existing project.
This patch will center the window over the existing dialogue in the same region of the screen. Neater and more intuitive.
This commit is contained in:
parent
97e324654c
commit
fb6bd4a322
|
@ -149,6 +149,7 @@ _edi_welcome_project_choose_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNU
|
|||
elm_fileselector_sort_method_set(fs, ELM_FILESELECTOR_SORT_BY_FILENAME_ASC);
|
||||
|
||||
evas_object_resize(win, 380 * elm_config_scale_get(), 260 * elm_config_scale_get());
|
||||
elm_win_center(win, EINA_TRUE, EINA_TRUE);
|
||||
evas_object_show(win);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue