mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Merge pull request #71686 from YuriSizov/stylebox-min-size-but-better
Clean-up, harmonize, and improve StyleBox API
This commit is contained in:
@@ -525,7 +525,7 @@ EditorToaster::EditorToaster() {
|
||||
|
||||
Ref<StyleBoxFlat> boxes[] = { info_panel_style_background, warning_panel_style_background, error_panel_style_background };
|
||||
for (int i = 0; i < 3; i++) {
|
||||
boxes[i]->set_default_margin_individual(int(stylebox_radius * 2.5), 3, int(stylebox_radius * 2.5), 3);
|
||||
boxes[i]->set_content_margin_individual(int(stylebox_radius * 2.5), 3, int(stylebox_radius * 2.5), 3);
|
||||
}
|
||||
|
||||
// Theming (progress).
|
||||
|
||||
Reference in New Issue
Block a user