From 1ef866390c208f7f0352101b2d4979ad9e61a953 Mon Sep 17 00:00:00 2001 From: passivestar <60579014+passivestar@users.noreply.github.com> Date: Fri, 10 Jan 2025 23:26:32 +0400 Subject: [PATCH] Fix tree margin values --- minimal_theme.tres | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minimal_theme.tres b/minimal_theme.tres index 5568364..2bf1b5e 100644 --- a/minimal_theme.tres +++ b/minimal_theme.tres @@ -666,7 +666,7 @@ func _init() -> void: set_constant('inner_item_margin_right', 'Tree', int(base_margin * scale)) set_constant('parent_hl_line_width', 'Tree', int(ceilf(scale))) set_constant('relationship_line_width', 'Tree', 0) - set_constant('v_separation', 'Tree', int(ceilf(scale) + ceilf(extra_spacing * scale))) + set_constant('v_separation', 'Tree', int(base_margin * 0.25 * scale)) set_stylebox('panel', 'Tree', base_empty_margin_sb)