Summary:
Issue: elm_box_align_set APIs not working well
Solution: hint_set should not be called instead evas box align APIs
have to be used
@fix
Test Plan:
elementary test demo first page, though align is set as 0.0
0.5 it always shows as 0.5
Reviewers: Hermet, raster, seoz
Subscribers: rajeshps, govi
Differential Revision: https://phab.enlightenment.org/D1622
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_object_size_hint_align_set
- (wd->resize_obj, horizontal, vertical);
+ evas_object_box_align_set(wd->resize_obj, horizontal, vertical);
}
EOLIAN static void
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
- evas_object_size_hint_align_get
- (wd->resize_obj, horizontal, vertical);
+ evas_object_box_align_get(wd->resize_obj, horizontal, vertical);
}
EOLIAN static void
}
if (!expand)
{
- evas_object_size_hint_align_get(o, &ax, &ay);
+ evas_object_box_align_get(o, &ax, &ay);
if (rtl) ax = 1.0 - ax;
if (horizontal)
{