diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-26 12:57:22 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-26 18:15:43 +0300 |
commit | e69e62a90ad85500e9e17d02ba95130a8db1a57b (patch) | |
tree | 6e2488442228a247fd940d117acabc86d3ba311e /source/blender/editors/interface/interface_layout.c | |
parent | cf8a0597693de8fbf3dccf607d81e6e1f2c0d2aa (diff) |
UI: decrease status bar height.
Diffstat (limited to 'source/blender/editors/interface/interface_layout.c')
-rw-r--r-- | source/blender/editors/interface/interface_layout.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c index 05af133616e..1b6a1bd27a0 100644 --- a/source/blender/editors/interface/interface_layout.c +++ b/source/blender/editors/interface/interface_layout.c @@ -3861,6 +3861,11 @@ static void ui_item_scale(uiLayout *litem, const float scale[2]) int x, y, w, h; for (item = litem->items.last; item; item = item->prev) { + if (item->type != ITEM_BUTTON) { + uiLayout *subitem = (uiLayout *)item; + ui_item_scale(subitem, scale); + } + ui_item_size(item, &w, &h); ui_item_offset(item, &x, &y); |