fix comp cfdlg sizing and centering

devs/bu5hm4n/econfigure2
Mike Blumenkrantz 8 years ago
parent 3e5b2ba96a
commit b89868cc65
  1. 5
      src/bin/e_int_config_comp.c
  2. 1
      src/bin/e_int_config_comp_match.c

@ -184,6 +184,7 @@ _advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data
Evas_Object *ob,*ol, *of, *otb, *oi, *orec0;
E_Radio_Group *rg;
elm_win_center(cfd->dia->win, 1, 1);
orec0 = evas_object_rectangle_add(evas);
evas_object_name_set(orec0, "style_shadows");
@ -534,13 +535,15 @@ _basic_comp_style_toggle(void *data, Evas_Object *o)
}
static Evas_Object *
_basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED,
_basic_create_widgets(E_Config_Dialog *cfd,
Evas *evas,
E_Config_Dialog_Data *cfdata)
{
Evas_Object *ob,*ol, *of, *otb, *oi, *orec0, *tab;
E_Radio_Group *rg;
e_dialog_resizable_set(cfd->dia, 0);
elm_win_center(cfd->dia->win, 1, 1);
orec0 = evas_object_rectangle_add(evas);
evas_object_name_set(orec0, "style_shadows");

@ -798,6 +798,7 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
orec0 = evas_object_rectangle_add(evas);
evas_object_name_set(orec0, "style_shadows");
elm_win_center(cfd->dia->win, 1, 1);
return _create_styles_toolbook(cfd, evas, cfdata);
}

Loading…
Cancel
Save