Browse Source

Update last min size when Control becomes visible

Haoyu Qiu 3 years ago
parent
commit
4ac999cc3f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      scene/gui/control.cpp

+ 1 - 0
scene/gui/control.cpp

@@ -836,6 +836,7 @@ void Control::_notification(int p_notification) {
 				}
 				}
 			} else {
 			} else {
 				data.minimum_size_valid = false;
 				data.minimum_size_valid = false;
+				_update_minimum_size();
 				_size_changed();
 				_size_changed();
 			}
 			}
 		} break;
 		} break;