浏览代码

Fix `TabBar` size when theme changes

(cherry picked from commit fdba051a40c36bb1528a2aaf840531f19ffa8615)
Mounir Tohami 1 年之前
父节点
当前提交
b4be0634d4
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      scene/gui/tab_bar.cpp

+ 1 - 0
scene/gui/tab_bar.cpp

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