forked from enlightenment/enlightenment
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
This commit is contained in:
parent
151a5cc532
commit
5f3278eba8
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue