Skip to content

Commit

Permalink
Try to fix seperation in editor
Browse files Browse the repository at this point in the history
  • Loading branch information
Jowan-Spooner committed Aug 16, 2024
1 parent 6eb3c4c commit 41a3949
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ size_flags_vertical = 3
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_constants/separation = 0

[node name="HBoxContainer" type="HBoxContainer" parent="Scroll/VBox/MainHSplit/Split"]
layout_mode = 2
Expand Down
3 changes: 1 addition & 2 deletions addons/dialogic/Editor/editor_main.gd
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func update_theme_additions() -> void:
var side_panel: StyleBoxFlat = panel_style.duplicate()
side_panel.corner_radius_top_left = 0
side_panel.corner_radius_bottom_left = 0
side_panel.expand_margin_left = 8
side_panel.expand_margin_left = get_theme_constant("separation", "SplitContainer")
side_panel.bg_color = get_theme_color("dark_color_2", "Editor")
side_panel.set_border_width_all(1)
side_panel.border_width_left = 0
Expand Down Expand Up @@ -251,4 +251,3 @@ func godot_file_dialog(callable:Callable, filter:String, mode := EditorFileDialo
editor_file_dialog.dir_selected.connect(callable)
editor_file_dialog.file_selected.connect(callable)
return editor_file_dialog

1 change: 0 additions & 1 deletion addons/dialogic/Modules/StyleEditor/style_editor.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ offset_right = -3.0
offset_bottom = 3.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 0
script = ExtResource("1_gy14f")

[node name="Panel" type="PanelContainer" parent="."]
Expand Down

0 comments on commit 41a3949

Please sign in to comment.