forked from enlightenment/enlightenment
Use e_scale when calculating window width/height.
SVN revision: 44907
This commit is contained in:
parent
e8d3e7c673
commit
56178c136b
|
@ -181,7 +181,7 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
e_widget_table_object_append(o, of, 1, 0, 1, 1, 1, 1, 1, 1);
|
e_widget_table_object_append(o, of, 1, 0, 1, 1, 1, 1, 1, 1);
|
||||||
|
|
||||||
ol = e_widget_textblock_add(evas);
|
ol = e_widget_textblock_add(evas);
|
||||||
e_widget_size_min_set(ol, 200, 70);
|
e_widget_size_min_set(ol, (200 * e_scale), 70);
|
||||||
cfdata->o_desc = ol;
|
cfdata->o_desc = ol;
|
||||||
e_widget_textblock_markup_set(ol, _("Description: Unavailable"));
|
e_widget_textblock_markup_set(ol, _("Description: Unavailable"));
|
||||||
e_widget_table_object_append(o, ol, 0, 1, 2, 1, 1, 0, 1, 0);
|
e_widget_table_object_append(o, ol, 0, 1, 2, 1, 1, 0, 1, 0);
|
||||||
|
@ -312,7 +312,8 @@ _fill_list(Evas_Object *obj, int enabled)
|
||||||
|
|
||||||
e_widget_ilist_go(obj);
|
e_widget_ilist_go(obj);
|
||||||
e_widget_size_min_get(obj, &w, NULL);
|
e_widget_size_min_get(obj, &w, NULL);
|
||||||
e_widget_size_min_set(obj, w > 180 ? w : 180, 200);
|
e_widget_size_min_set(obj, w > (180 * e_scale) ? (w * e_scale) : (180 * e_scale),
|
||||||
|
(200 * e_scale));
|
||||||
e_widget_ilist_thaw(obj);
|
e_widget_ilist_thaw(obj);
|
||||||
edje_thaw();
|
edje_thaw();
|
||||||
evas_event_thaw(evas);
|
evas_event_thaw(evas);
|
||||||
|
|
|
@ -144,7 +144,7 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
e_widget_table_object_append(o, of, 1, 0, 1, 1, 1, 1, 1, 1);
|
e_widget_table_object_append(o, of, 1, 0, 1, 1, 1, 1, 1, 1);
|
||||||
|
|
||||||
ow = e_widget_textblock_add(evas);
|
ow = e_widget_textblock_add(evas);
|
||||||
e_widget_size_min_set(ow, 200, 70);
|
e_widget_size_min_set(ow, (200 * e_scale), 70);
|
||||||
e_widget_textblock_markup_set(ow, _("Description: Unavailable"));
|
e_widget_textblock_markup_set(ow, _("Description: Unavailable"));
|
||||||
cfdata->o_desc = ow;
|
cfdata->o_desc = ow;
|
||||||
e_widget_table_object_append(o, ow, 0, 1, 2, 1, 1, 1, 1, 0);
|
e_widget_table_object_append(o, ow, 0, 1, 2, 1, 1, 1, 1, 0);
|
||||||
|
@ -245,8 +245,8 @@ _load_avail_gadgets(void *data)
|
||||||
}
|
}
|
||||||
e_widget_ilist_go(cfdata->o_avail);
|
e_widget_ilist_go(cfdata->o_avail);
|
||||||
e_widget_size_min_get(cfdata->o_avail, &w, NULL);
|
e_widget_size_min_get(cfdata->o_avail, &w, NULL);
|
||||||
if (w < 200) w = 200;
|
if (w < (200 * e_scale)) w = (200 * e_scale);
|
||||||
e_widget_size_min_set(cfdata->o_avail, w, 250);
|
e_widget_size_min_set(cfdata->o_avail, w, (250 * e_scale));
|
||||||
e_widget_ilist_thaw(cfdata->o_avail);
|
e_widget_ilist_thaw(cfdata->o_avail);
|
||||||
edje_thaw();
|
edje_thaw();
|
||||||
evas_event_thaw(evas);
|
evas_event_thaw(evas);
|
||||||
|
@ -290,8 +290,8 @@ _load_sel_gadgets(void *data)
|
||||||
}
|
}
|
||||||
e_widget_ilist_go(cfdata->o_sel);
|
e_widget_ilist_go(cfdata->o_sel);
|
||||||
e_widget_size_min_get(cfdata->o_sel, &w, NULL);
|
e_widget_size_min_get(cfdata->o_sel, &w, NULL);
|
||||||
if (w < 200) w = 200;
|
if (w < (200 * e_scale)) w = (200 * e_scale);
|
||||||
e_widget_size_min_set(cfdata->o_sel, w, 250);
|
e_widget_size_min_set(cfdata->o_sel, w, (250 * e_scale));
|
||||||
e_widget_ilist_thaw(cfdata->o_sel);
|
e_widget_ilist_thaw(cfdata->o_sel);
|
||||||
edje_thaw();
|
edje_thaw();
|
||||||
evas_event_thaw(evas);
|
evas_event_thaw(evas);
|
||||||
|
|
Loading…
Reference in New Issue