From 5f3278eba867ff7743512e27568f2c9f58c630c2 Mon Sep 17 00:00:00 2001 From: shorne Date: Thu, 5 Nov 2015 16:03:26 +0900 Subject: [PATCH] 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 --- .../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 a3c49619d..283816be6 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 @@ -158,7 +158,7 @@ _basic_create(E_Config_Dialog *cfd EINA_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); @@ -184,7 +184,7 @@ _basic_create(E_Config_Dialog *cfd EINA_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); @@ -236,7 +236,7 @@ _basic_create(E_Config_Dialog *cfd EINA_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); @@ -253,7 +253,7 @@ _basic_create(E_Config_Dialog *cfd EINA_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 15bf16f34..421676846 100644 --- a/src/modules/winlist/e_int_config_winlist.c +++ b/src/modules/winlist/e_int_config_winlist.c @@ -200,7 +200,7 @@ _basic_create(E_Config_Dialog *cfd EINA_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)); @@ -228,7 +228,7 @@ _basic_create(E_Config_Dialog *cfd EINA_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"), @@ -242,7 +242,7 @@ _basic_create(E_Config_Dialog *cfd EINA_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")); @@ -272,7 +272,7 @@ _basic_create(E_Config_Dialog *cfd EINA_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")); @@ -286,7 +286,7 @@ _basic_create(E_Config_Dialog *cfd EINA_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);