raster pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=3a3257e7898d860dcedee8817fc8e0ddc08e3558
commit 3a3257e7898d860dcedee8817fc8e0ddc08e3558 Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> Date: Tue Feb 18 10:55:45 2020 +0000 personal app editor - force size up to be sanely sized for use --- src/bin/e_desktop_editor.c | 15 ++++++++++++++- .../conf_applications/e_int_config_apps_personal.c | 11 ++++++++--- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/src/bin/e_desktop_editor.c b/src/bin/e_desktop_editor.c index d010b2c7e..7a42deb81 100644 --- a/src/bin/e_desktop_editor.c +++ b/src/bin/e_desktop_editor.c @@ -707,6 +707,13 @@ _e_desktop_edit_basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *eva ot = e_widget_table_add(e_win_evas_win_get(evas), 0); + o = evas_object_rectangle_add(evas); + evas_object_color_set(o, 0, 0, 0, 0); + evas_object_pass_events_set(o, EINA_TRUE); + mw = 200 * e_scale; mh = 80 * e_scale; + evas_object_size_hint_min_set(o, mw, mh); + e_widget_table_object_append(ot, o, 1, 4, 1, 1, 1, 1, 1, 1); + o = e_widget_label_add(evas, _("Name")); e_widget_table_object_append(ot, o, 0, 0, 1, 1, 1, 1, 0, 0); @@ -755,10 +762,16 @@ _e_desktop_edit_basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *eva ot = e_widget_table_add(e_win_evas_win_get(evas), 0); + o = evas_object_rectangle_add(evas); + evas_object_color_set(o, 0, 0, 0, 0); + evas_object_pass_events_set(o, EINA_TRUE); + mw = 160 * e_scale; mh = 160 * e_scale; + evas_object_size_hint_min_set(o, mw, mh); + e_widget_table_object_append(ot, o, 0, 0, 2, 1, 1, 1, 1, 1); + editor->img_widget = e_widget_button_add (evas, "", NULL, _e_desktop_editor_cb_icon_select, cfdata, editor); _e_desktop_editor_icon_update(cfdata); - e_widget_size_min_set(editor->img_widget, 192, 192); e_widget_table_object_append(ot, editor->img_widget, 0, 0, 2, 1, 1, 1, 1, 1); diff --git a/src/modules/conf_applications/e_int_config_apps_personal.c b/src/modules/conf_applications/e_int_config_apps_personal.c index 84b854c0c..30cda9525 100644 --- a/src/modules/conf_applications/e_int_config_apps_personal.c +++ b/src/modules/conf_applications/e_int_config_apps_personal.c @@ -74,15 +74,20 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata) Evas_Coord mw, mh; e_dialog_resizable_set(cfd->dia, 1); - + of = e_widget_table_add(e_win_evas_win_get(evas), 0); + ob = evas_object_rectangle_add(evas); + evas_object_color_set(ob, 0, 0, 0, 0); + evas_object_pass_events_set(ob, EINA_TRUE); + mw = 260 * e_scale; mh = 200 * e_scale; + evas_object_size_hint_min_set(ob, mw, mh); + e_widget_table_object_append(of, ob, 0, 1, 2, 1, 1, 1, 1, 1); + li = e_widget_ilist_add(evas, 24, 24, NULL); cfdata->obj.list = li; e_widget_ilist_multi_select_set(li, EINA_TRUE); e_widget_size_min_get(li, &mw, &mh); - if (mw < (200 * e_scale)) mw = 200 * e_scale; - if (mh < (160 * e_scale)) mh = 160 * e_scale; e_widget_size_min_set(li, mw, mh); e_widget_on_change_hook_set(li, _widget_list_selection_changed, cfdata); e_widget_table_object_append(of, li, 0, 1, 2, 1, 1, 1, 1, 1); --