You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-04 17:04:49 +00:00
Remove padding in bottom HBoxContainer of scene tree dock
This way the new "Create new scene from node(s)" button does not make the bar overflow
This commit is contained in:
@@ -1477,9 +1477,10 @@ SceneTreeDock::SceneTreeDock(EditorNode *p_editor,Node *p_scene_root,EditorSelec
|
||||
scene_tree->set_undo_redo(&editor_data->get_undo_redo());
|
||||
scene_tree->set_editor_selection(editor_selection);
|
||||
|
||||
|
||||
HBoxContainer *hbc_bottom = memnew( HBoxContainer );
|
||||
vbc->add_child(hbc_bottom);
|
||||
|
||||
hbc_bottom->add_constant_override("separation", 0);
|
||||
|
||||
tb = memnew( ToolButton );
|
||||
tb->connect("pressed",this,"_tool_selected",make_binds(TOOL_MOVE_UP, false));
|
||||
|
||||
Reference in New Issue
Block a user