You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Clean-up, harmonize, and improve StyleBox API
- Make all margin properties follow the same naming convention (their getter and setter too). - Remove a virtual counterpart of `get_style_margin` from API. - Allow to override `get_minimum_size` from scripting and remove `get_center_size`.
This commit is contained in:
@@ -3958,8 +3958,8 @@ void CanvasItemEditor::_notification(int p_what) {
|
||||
|
||||
case NOTIFICATION_ENTER_TREE: {
|
||||
select_sb->set_texture(get_theme_icon(SNAME("EditorRect2D"), SNAME("EditorIcons")));
|
||||
select_sb->set_margin_size_all(4);
|
||||
select_sb->set_default_margin_all(4);
|
||||
select_sb->set_texture_margin_all(4);
|
||||
select_sb->set_content_margin_all(4);
|
||||
|
||||
AnimationPlayerEditor::get_singleton()->get_track_editor()->connect("visibility_changed", callable_mp(this, &CanvasItemEditor::_keying_changed));
|
||||
_keying_changed();
|
||||
|
||||
Reference in New Issue
Block a user