diff options
Diffstat (limited to 'ui.cpp')
-rw-r--r-- | ui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1408,6 +1408,7 @@ UI::Rect UI::Tree::layout(const Rect& avail) { r.h += ui_padding; cr.y += r.h; cr.h -= r.h; + if (r.w > used.w) used.w = r.w; used.h += r.h; } used.h += ui_padding; |