mirror of
https://github.com/passivestar/godot-minimal-theme.git
synced 2025-01-21 23:59:06 -05:00
Fix tab container corner radii
This commit is contained in:
parent
6a2a89b741
commit
c2108cd591
@ -659,8 +659,16 @@ func _init() -> void:
|
||||
sb = base_sb.duplicate()
|
||||
sb.set_content_margin_all(increased_margin * 1.5 * scale)
|
||||
sb.set_corner_radius_all(0)
|
||||
sb.corner_radius_bottom_right = int(corner_radius * scale)
|
||||
sb.corner_radius_bottom_left = int(corner_radius * scale)
|
||||
set_stylebox('panel', 'TabContainer', sb)
|
||||
|
||||
sb = base_sb.duplicate()
|
||||
sb.bg_color = _get_base_color(-1.0)
|
||||
sb.set_content_margin_all(0)
|
||||
sb.set_corner_radius_all(0)
|
||||
set_stylebox('tabbar_background', 'TabContainer', sb)
|
||||
|
||||
# Tree
|
||||
|
||||
set_color('drop_position_color', 'Tree', mono_color * Color(1, 1, 1, 0.4))
|
||||
|
Loading…
Reference in New Issue
Block a user