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:
Al Poole 2017-09-01 14:11:35 +01:00
parent 97e324654c
commit fb6bd4a322
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}