浏览代码

Fix `TabBar` size when theme changes

Mounir Tohami 1 年之前
父节点
当前提交
fdba051a40
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      scene/gui/tab_bar.cpp

+ 1 - 0
scene/gui/tab_bar.cpp

@@ -376,6 +376,7 @@ void TabBar::_notification(int p_what) {
 			}
 
 			queue_redraw();
+			update_minimum_size();
 
 			[[fallthrough]];
 		}