Explorar o código

Fixed PopupMenu not matching parent MenuButton/OptionButton width

Eric M %!s(int64=4) %!d(string=hai) anos
pai
achega
056fcf3d75
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      scene/gui/popup_menu.cpp

+ 0 - 1
scene/gui/popup_menu.cpp

@@ -1636,7 +1636,6 @@ void PopupMenu::_bind_methods() {
 void PopupMenu::popup(const Rect2 &p_bounds) {
 	moved = Vector2();
 	popup_time_msec = OS::get_singleton()->get_ticks_msec();
-	set_as_minsize();
 	Popup::popup(p_bounds);
 }