forked from enlightenment/efl
Fix elm box layout problem with max sizes.
This commit is contained in:
parent
47e280d21b
commit
25721fa062
|
@ -1167,3 +1167,8 @@
|
|||
* Fix the elm_shutdown bug in _elm_shutdown_config.
|
||||
When the elm_shutdown is used after elm_config_all_flush, the segment fault occur.
|
||||
It's why it uses ecore_x in _prop_all_update_cb after removing it.
|
||||
|
||||
2013-03-20 Carsten Haitzler (The Rasterman)
|
||||
|
||||
* Fix elm box layout when an item has a max size, and that squashes all
|
||||
content even when the minimum size is greater.
|
||||
|
|
|
@ -187,7 +187,8 @@ Fixes:
|
|||
* Fix a memory leak of elm_genlist - EINA_LIST_FREE should be used for returned value of elm_genlist_realized_items_get
|
||||
* Focus highlight should be reconfigured when theme is changed.
|
||||
* Fix the elm_shutdown bug in _elm_shutdown_config.
|
||||
|
||||
* Fix box layout bug when items with max size force sizes below minimum.
|
||||
|
||||
Removals:
|
||||
|
||||
* All internal widget hooks (and related macros) were removed, due
|
||||
|
|
|
@ -98,6 +98,8 @@ _smart_extents_calculate(Evas_Object *box, Evas_Object_Box_Data *priv, int horiz
|
|||
}
|
||||
}
|
||||
}
|
||||
if ((maxw >= 0) && (minw > maxw)) maxw = minw;
|
||||
if ((maxh >= 0) && (minh > maxh)) maxh = minh;
|
||||
c = eina_list_count(priv->children) - 1;
|
||||
if (c > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue