Adjust tree margins

4.6
passivestar 2025-08-16 16:37:26 +07:00
parent c270515693
commit 8fdd204935
1 changed files with 1 additions and 1 deletions

@ -826,7 +826,7 @@ func _init() -> void:
# doesn't work because EditorPropertyResource is using Tree panel
# stylebox to draw its background as well, making it look broken
empty_sb = base_empty_sb.duplicate()
empty_sb.set_content_margin_all(base_margin * 2 * scale)
_set_margin(empty_sb, base_margin * 1.5, base_margin * 2.5, base_margin * 1.5, base_margin * 2.5)
set_stylebox('panel', 'Tree', empty_sb)
# Leaving focus empty for trees and scroll containers because there's no way to