/* If wrap_w is not set, label's width has to be controlled
by outside of label. So, we don't need to set minimum width. */
+ /* TIZEN_ONLY(20180511): restore label size calc logic from Tizen 4.0
if (sd->wrap_w == -1)
evas_object_size_hint_min_set(data, 0, minh);
else
evas_object_size_hint_min_set(data, minw, minh);
+ */
+ if ((minw <= resw) && (minw != sd->wrap_w))
+ {
+ Evas_Coord ominw = -1;
+
+ evas_object_size_hint_min_get(data, &ominw, NULL);
+ minw = ominw;
+ }
+
+ evas_object_size_hint_min_set(data, minw, minh);
+ /* END */
+
/* TIZEN_ONLY(20161109): wrap width will work as min and max width */
if (sd->wrap_w > 0)
evas_object_size_hint_max_set(data, minw, -1);