discomfitor pushed a commit to branch enlightenment-0.19. http://git.enlightenment.org/core/enlightenment.git/commit/?id=c7cd4178a7e228ec85781e4ef7302d2882084297
commit c7cd4178a7e228ec85781e4ef7302d2882084297 Author: shorne <sho...@gmail.com> Date: Thu Nov 5 16:03:26 2015 +0900 e/win_config: allow content of some dialogs to resize with the window Summary: Currently the dialogs in Winows > Window List Menu and Window Display are resizable the their content does not resize. This patch fixes that. Test Plan: Open windows in window config dialog and ensure they can resize propertly Reviewers: zmike Subscribers: raster, cedric, seoz Differential Revision: https://phab.enlightenment.org/D3275 --- .../conf_window_manipulation/e_int_config_window_display.c | 8 ++++---- src/modules/winlist/e_int_config_winlist.c | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/modules/conf_window_manipulation/e_int_config_window_display.c b/src/modules/conf_window_manipulation/e_int_config_window_display.c index 126972f..74888bb 100644 --- a/src/modules/conf_window_manipulation/e_int_config_window_display.c +++ b/src/modules/conf_window_manipulation/e_int_config_window_display.c @@ -157,7 +157,7 @@ _basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data e_widget_framelist_object_append(of, ow); e_widget_list_object_append(ol, of, 1, 1, 0.5); e_widget_toolbook_page_append(otb, NULL, _("Display"), ol, - 0, 0, 1, 0, 0.5, 0.0); + 1, 0, 1, 0, 0.5, 0.0); /* New Windows */ ol = e_widget_list_add(evas, 0, 0); @@ -183,7 +183,7 @@ _basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data &(cfdata->desk_auto_switch)); e_widget_list_object_append(ol, ow, 1, 1, 0.5); e_widget_toolbook_page_append(otb, NULL, _("New Windows"), ol, - 0, 0, 1, 0, 0.5, 0.0); + 1, 0, 1, 0, 0.5, 0.0); /* Shading */ ol = e_widget_list_add(evas, 0, 0); @@ -235,7 +235,7 @@ _basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data e_widget_list_object_append(ol, ow, 1, 1, 0.5); e_widget_toolbook_page_append(otb, NULL, _("Shading"), ol, - 0, 0, 1, 0, 0.5, 0.0); + 1, 0, 1, 0, 0.5, 0.0); /* Screen Limits */ ol = e_widget_list_add(evas, 0, 0); @@ -252,7 +252,7 @@ _basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data e_widget_list_object_append(ol, ow, 1, 1, 0.5); e_widget_toolbook_page_append(otb, NULL, _("Screen Limits"), ol, - 0, 0, 1, 0, 0.5, 0.0); + 1, 0, 1, 0, 0.5, 0.0); e_widget_toolbook_page_show(otb, 0); return otb; diff --git a/src/modules/winlist/e_int_config_winlist.c b/src/modules/winlist/e_int_config_winlist.c index 6eb22db..d6668dc 100644 --- a/src/modules/winlist/e_int_config_winlist.c +++ b/src/modules/winlist/e_int_config_winlist.c @@ -199,7 +199,7 @@ _basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data e_widget_list_object_append(ol, ob, 1, 0, 0.0); e_widget_check_widget_disable_on_unchecked_add(iconified, ob); e_widget_toolbook_page_append(otb, NULL, _("Display"), ol, - 0, 0, 1, 0, 0.5, 0.0); + 1, 0, 1, 0, 0.5, 0.0); ol = e_widget_list_add(evas, 0, 0); ob = e_widget_check_add(evas, _("Focus"), &(cfdata->focus)); @@ -227,7 +227,7 @@ _basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data e_widget_check_widget_disable_on_checked_add(ob, ck); e_widget_list_object_append(ol, ob, 1, 0, 0.0); e_widget_toolbook_page_append(otb, NULL, _("Selecting"), ol, - 0, 0, 1, 0, 0.5, 0.0); + 1, 0, 1, 0, 0.5, 0.0); ol = e_widget_list_add(evas, 0, 0); scroll_animate = ob = e_widget_check_add(evas, _("Scroll Animation"), @@ -241,7 +241,7 @@ _basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data e_widget_check_widget_disable_on_unchecked_add(scroll_animate, ob); e_widget_list_object_append(ol, ob, 1, 0, 0.0); e_widget_toolbook_page_append(otb, NULL, _("Animations"), ol, - 0, 0, 1, 0, 0.5, 0.0); + 1, 0, 1, 0, 0.5, 0.0); ol = e_widget_list_add(evas, 0, 0); ob = e_widget_label_add(evas, _("Minimum width")); @@ -271,7 +271,7 @@ _basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data e_widget_on_change_hook_set(ob, _height_limits_changed, cfdata); e_widget_list_object_append(ol, ob, 1, 0, 0.0); e_widget_toolbook_page_append(otb, NULL, _("Geometry"), ol, - 0, 0, 1, 0, 0.5, 0.0); + 1, 0, 1, 0, 0.5, 0.0); ol = e_widget_list_add(evas, 0, 0); ob = e_widget_label_add(evas, _("Horizontal alignment")); @@ -285,7 +285,7 @@ _basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data &(cfdata->align_y), NULL, 100); e_widget_list_object_append(ol, ob, 1, 0, 0.0); e_widget_toolbook_page_append(otb, NULL, _("Alignment"), ol, - 0, 0, 1, 0, 0.5, 0.0); + 1, 0, 1, 0, 0.5, 0.0); e_widget_toolbook_page_show(otb, 0); --