Popups are now windows also (broken!)

This commit is contained in:
Juan Linietsky
2020-03-12 09:37:40 -03:00
parent 543fb1c4da
commit 441f1a5fe9
159 changed files with 3311 additions and 3285 deletions

View File

@@ -32,10 +32,10 @@
Size2 MarginContainer::get_minimum_size() const {
int margin_left = get_constant("margin_left");
int margin_top = get_constant("margin_top");
int margin_right = get_constant("margin_right");
int margin_bottom = get_constant("margin_bottom");
int margin_left = get_theme_constant("margin_left");
int margin_top = get_theme_constant("margin_top");
int margin_right = get_theme_constant("margin_right");
int margin_bottom = get_theme_constant("margin_bottom");
Size2 max;
@@ -67,10 +67,10 @@ void MarginContainer::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_SORT_CHILDREN: {
int margin_left = get_constant("margin_left");
int margin_top = get_constant("margin_top");
int margin_right = get_constant("margin_right");
int margin_bottom = get_constant("margin_bottom");
int margin_left = get_theme_constant("margin_left");
int margin_top = get_theme_constant("margin_top");
int margin_right = get_theme_constant("margin_right");
int margin_bottom = get_theme_constant("margin_bottom");
Size2 s = get_size();