1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Added border for tabs + container.

- moved tabConetent position to be more reasonable.
 - fixed drawing order to allow those kind of styles.
This commit is contained in:
toger5
2017-09-02 03:29:04 +02:00
parent 9488f06e4a
commit 10c400c456
3 changed files with 22 additions and 17 deletions

View File

@@ -4857,7 +4857,7 @@ EditorNode::EditorNode() {
scene_root_parent = memnew(PanelContainer);
scene_root_parent->set_custom_minimum_size(Size2(0, 80) * EDSCALE);
scene_root_parent->add_style_override("panel", gui_base->get_stylebox("Content", "EditorStyles"));
scene_root_parent->set_draw_behind_parent(true);
srt->add_child(scene_root_parent);
scene_root_parent->set_v_size_flags(Control::SIZE_EXPAND_FILL);