This commit is contained in:
Spartan322
2024-10-18 17:26:56 -04:00
37 changed files with 231 additions and 97 deletions

View File

@@ -1058,7 +1058,7 @@ void ItemList::_notification(int p_what) {
scroll_bar->set_anchor_and_offset(SIDE_BOTTOM, ANCHOR_END, -theme_cache.panel_style->get_margin(SIDE_BOTTOM));
Size2 size = get_size();
int width = size.width - theme_cache.panel_style->get_margin(SIDE_RIGHT);
int width = size.width - theme_cache.panel_style->get_minimum_size().width;
if (scroll_bar->is_visible()) {
width -= scroll_bar_minwidth;
}