Merge pull request #57725 from jmb462/missing-sname-theme-setters
This commit is contained in:
commit
b024602660
90 changed files with 1648 additions and 1648 deletions
|
|
@ -846,10 +846,10 @@ void PopupMenu::_notification(int p_what) {
|
|||
|
||||
// Set margin on the margin container
|
||||
Ref<StyleBox> panel_style = get_theme_stylebox(SNAME("panel"));
|
||||
margin_container->add_theme_constant_override("margin_top", panel_style->get_margin(Side::SIDE_TOP));
|
||||
margin_container->add_theme_constant_override("margin_bottom", panel_style->get_margin(Side::SIDE_BOTTOM));
|
||||
margin_container->add_theme_constant_override("margin_left", panel_style->get_margin(Side::SIDE_LEFT));
|
||||
margin_container->add_theme_constant_override("margin_right", panel_style->get_margin(Side::SIDE_RIGHT));
|
||||
margin_container->add_theme_constant_override(SNAME("margin_top"), panel_style->get_margin(Side::SIDE_TOP));
|
||||
margin_container->add_theme_constant_override(SNAME("margin_bottom"), panel_style->get_margin(Side::SIDE_BOTTOM));
|
||||
margin_container->add_theme_constant_override(SNAME("margin_left"), panel_style->get_margin(Side::SIDE_LEFT));
|
||||
margin_container->add_theme_constant_override(SNAME("margin_right"), panel_style->get_margin(Side::SIDE_RIGHT));
|
||||
}
|
||||
} break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue