fix: liquid fills from bottom; make module root panel transparent with 12px corners to eliminate grey corners
This commit is contained in:
parent
3eb089b776
commit
308cf26a77
3 changed files with 27 additions and 6 deletions
|
|
@ -50,6 +50,16 @@ func _setup_shader() -> void:
|
|||
|
||||
|
||||
func _style() -> void:
|
||||
# Transparent root panel — the VialFill shader provides the background
|
||||
var panel := StyleBoxFlat.new()
|
||||
panel.bg_color = Color.TRANSPARENT
|
||||
panel.corner_radius_top_left = 12
|
||||
panel.corner_radius_top_right = 12
|
||||
panel.corner_radius_bottom_right = 12
|
||||
panel.corner_radius_bottom_left = 12
|
||||
add_theme_stylebox_override("panel", panel)
|
||||
add_theme_stylebox_override("panel_focused", panel)
|
||||
|
||||
title_label.add_theme_color_override("font_color", Color(0.7, 0.7, 0.8, 1.0))
|
||||
label.add_theme_color_override("font_color", Color(0.9, 0.9, 1.0, 1.0))
|
||||
label.add_theme_font_size_override("font_size", 48)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue