diff options
author | raa <roaoao@gmail.com> | 2017-02-23 00:03:31 +0300 |
---|---|---|
committer | raa <roaoao@gmail.com> | 2017-02-23 00:06:54 +0300 |
commit | 43299f9465aa7ae6ae66f70a70aaea455280e90a (patch) | |
tree | 6be1473a583d87d53a4b9b94e3ca4469839cb6e3 /source/blender/editors | |
parent | 5e1d4714fef72407e3497e70ddac3f1caa959f39 (diff) |
Columns should be expandable by default
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/interface/interface_layout.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c index 78860206c2f..9acc8cf8271 100644 --- a/source/blender/editors/interface/interface_layout.c +++ b/source/blender/editors/interface/interface_layout.c @@ -2216,7 +2216,6 @@ static void ui_litem_estimate_column(uiLayout *litem) { uiItem *item; int itemw, itemh; - bool min_size_flag = true; litem->w = 0; litem->h = 0; @@ -2224,18 +2223,12 @@ static void ui_litem_estimate_column(uiLayout *litem) for (item = litem->items.first; item; item = item->next) { ui_item_size(item, &itemw, &itemh); - min_size_flag = min_size_flag && (item->flag & UI_ITEM_MIN); - litem->w = MAX2(litem->w, itemw); litem->h += itemh; if (item->next) litem->h += litem->space; } - - if (min_size_flag) { - litem->item.flag |= UI_ITEM_MIN; - } } static void ui_litem_layout_column(uiLayout *litem) |