e/win_config: allow content of some dialogs to resize with the window
authorshorne <shorne@gmail.com>
Thu, 5 Nov 2015 07:03:26 +0000 (16:03 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 5 Nov 2015 07:03:26 +0000 (16:03 +0900)
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

src/modules/conf_window_manipulation/e_int_config_window_display.c
src/modules/winlist/e_int_config_winlist.c

index a3c49619d0b29d1415e8deb8ca35f3619a8b319e..283816be674bb84b5da09b1dd056810dd00882ac 100644 (file)
@@ -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;
index 15bf16f3450740205df578102bff6ba8d1de62dd..421676846264bb386e971ce3da7bcbdd6e8b663b 100644 (file)
@@ -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);