edje_object_size_min_calc(sd->end, &w_label_count, &h);
elm_coords_finger_size_adjust(1, &w_label_count, 1, &h);
- efl_gfx_hint_size_min_set(sd->end, EINA_SIZE2D(w_label_count, h));
+ efl_gfx_hint_size_restricted_min_set(sd->end, EINA_SIZE2D(w_label_count, h));
elm_box_pack_end(sd->box, sd->end);
evas_object_show(sd->end);
if (sd->w_box && min.w > r.w)
{
elm_coords_finger_size_adjust(1, &r.w, 1, &min.h);
- efl_gfx_hint_size_min_set(layout, EINA_SIZE2D(r.w, min.h));
+ efl_gfx_hint_size_restricted_min_set(layout, EINA_SIZE2D(r.w, min.h));
efl_gfx_entity_size_set(layout, EINA_SIZE2D(r.w, min.h));
}
if (min.w > r.w - hpad)
{
min.w = r.w - hpad;
- efl_gfx_hint_size_min_set(layout, EINA_SIZE2D(min.w, min.h));
+ efl_gfx_hint_size_restricted_min_set(layout, EINA_SIZE2D(min.w, min.h));
efl_gfx_entity_size_set(layout, EINA_SIZE2D(min.w, min.h));
}
}
}
box_min.h = lineh * line_num + (line_num - 1) * priv->pad.v;
- efl_gfx_hint_size_min_set(box, EINA_SIZE2D(box_min.w, box_min.h));
+ efl_gfx_hint_size_restricted_min_set(box, EINA_SIZE2D(box_min.w, box_min.h));
*line_height = lineh;
return EINA_TRUE;
efl_text_interactive_editable_set(efl_added, EINA_TRUE),
efl_composite_attach(obj, efl_added));
- efl_gfx_hint_size_min_set(sd->entry, EINA_SIZE2D(MIN_W_ENTRY, 0));
+ efl_gfx_hint_size_restricted_min_set(sd->entry, EINA_SIZE2D(MIN_W_ENTRY, 0));
evas_object_size_hint_weight_set
(sd->entry, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
efl_gfx_hint_fill_set(sd->entry, EINA_TRUE, EINA_TRUE);
edje_object_size_min_calc(sd->end, &button_min_width, &button_min_height);
elm_coords_finger_size_adjust(1, &button_min_width, 1, &button_min_height);
- efl_gfx_hint_size_min_set(sd->end, EINA_SIZE2D(button_min_width, button_min_height));
+ efl_gfx_hint_size_restricted_min_set(sd->end, EINA_SIZE2D(button_min_width, button_min_height));
elm_widget_sub_object_add(obj, sd->end);
}
}
_path_start_angle_adjust(obj, pd);
_sizing_eval(pd);
- efl_gfx_hint_size_min_set(obj, EINA_SIZE2D((radius * 2) + text_size.h, (radius * 2) + text_size.h));
+ efl_gfx_hint_size_restricted_min_set(obj, EINA_SIZE2D((radius * 2) + text_size.h, (radius * 2) + text_size.h));
}
EOLIAN static int
_path_start_angle_adjust(obj, pd);
_sizing_eval(pd);
- efl_gfx_hint_size_min_set(obj, EINA_SIZE2D(x * 2, y * 2));
+ efl_gfx_hint_size_restricted_min_set(obj, EINA_SIZE2D(x * 2, y * 2));
}
#include "efl_ui_textpath_legacy_eo.c"