Reduce tree button horizontal padding

main 2.5.0
passivestar 2025-10-09 14:49:54 +07:00
parent 74a512e422
commit fb802e49f6
1 changed files with 1 additions and 2 deletions

@ -933,8 +933,7 @@ func _init() -> void:
set_stylebox('hovered_selected_focus', 'Tree', sb)
sb = flat_button_pressed_sb.duplicate()
sb.content_margin_top = 0
sb.content_margin_bottom = 0
_set_margin(sb, base_margin, 0, base_margin, 0)
set_stylebox('button_pressed', 'Tree', sb)
set_stylebox('custom_button_pressed', 'Tree', sb)