Fix theme properties in various demos (#1097)
3.x -> 4.x: `font_color_shadow` -> `font_shadow_color` `font_color_selected` -> `font_selected_color` `hseparation` -> `h_separation` `vseparation` -> `v_separation` `shadow_as_outline` -> `shadow_outline_size` `panelf` and `panelnc` were removed in 3.2, as the options were never used. See: godotengine/godot#28639 `font_color_shadow` is not a property of ProgressBar's theme, and there doesn't seem to be an equivalent. The term "shadow" does not appear in any of: {scene/{gui/{progress_bar,range,control},main/{canvas_item,node}},core/object/object}.{cpp,h}
This commit is contained in:
parent
8fd41702c6
commit
0fba875c72
|
@ -70,7 +70,7 @@ Button/colors/font_color_hover = Color(0.88, 0.8845, 0.8965, 1)
|
|||
Button/colors/font_color_pressed = Color(0.411765, 0.611765, 0.909804, 1)
|
||||
Button/colors/icon_color_hover = Color(1.15, 1.15, 1.15, 1)
|
||||
Button/colors/icon_color_pressed = Color(0.4715, 0.7015, 1.0465, 1)
|
||||
Button/constants/hseparation = 2
|
||||
Button/constants/h_separation = 2
|
||||
Button/fonts/font = ExtResource("1_f0sjs")
|
||||
Button/styles/disabled = SubResource("1")
|
||||
Button/styles/focus = SubResource("2")
|
||||
|
|
|
@ -69,7 +69,7 @@ Button/colors/font_focus_color = Color(0.564706, 0.231373, 0.0705882, 1)
|
|||
Button/colors/font_hover_color = Color(0.984314, 0.490196, 0.25098, 1)
|
||||
Button/colors/font_hover_pressed_color = Color(0.984314, 0.490196, 0.25098, 1)
|
||||
Button/colors/font_pressed_color = Color(0.984314, 0.490196, 0.25098, 1)
|
||||
Button/constants/hseparation = 2
|
||||
Button/constants/h_separation = 2
|
||||
Button/fonts/font = ExtResource("1")
|
||||
Button/styles/disabled = null
|
||||
Button/styles/focus = SubResource("1")
|
||||
|
@ -77,31 +77,28 @@ Button/styles/hover = SubResource("2")
|
|||
Button/styles/normal = SubResource("3")
|
||||
Button/styles/pressed = SubResource("4")
|
||||
Label/colors/font_color = Color(0.184314, 0.419608, 0.533333, 1)
|
||||
Label/colors/font_color_shadow = Color(1, 0.596078, 0, 0)
|
||||
Label/colors/font_shadow_color = Color(1, 0.596078, 0, 0)
|
||||
Label/constants/line_spacing = 3
|
||||
Label/constants/shadow_as_outline = 0
|
||||
Label/constants/shadow_offset_x = 0
|
||||
Label/constants/shadow_offset_y = 4
|
||||
Label/constants/shadow_outline_size = 0
|
||||
Label/fonts/font = ExtResource("4")
|
||||
Label/styles/normal = null
|
||||
Panel/styles/panel = SubResource("5")
|
||||
Panel/styles/panelf = null
|
||||
Panel/styles/panelnc = null
|
||||
PanelContainer/styles/panel = SubResource("5")
|
||||
ProgressBar/colors/font_color = Color(0.941176, 0.941176, 0.941176, 1)
|
||||
ProgressBar/colors/font_color_shadow = Color(0, 0, 0, 1)
|
||||
ProgressBar/fonts/font = ExtResource("4")
|
||||
ProgressBar/styles/bg = SubResource("6")
|
||||
ProgressBar/styles/fg = ExtResource("7")
|
||||
RichTextLabel/colors/default_color = Color(0.184314, 0.419608, 0.533333, 1)
|
||||
RichTextLabel/colors/font_color_selected = Color(0.49, 0.49, 0.49, 1)
|
||||
RichTextLabel/colors/font_color_shadow = Color(0, 0, 0, 0)
|
||||
RichTextLabel/colors/font_selected_color = Color(0.49, 0.49, 0.49, 1)
|
||||
RichTextLabel/colors/font_shadow_color = Color(0, 0, 0, 0)
|
||||
RichTextLabel/colors/selection_color = Color(0.1, 0.1, 1, 0.8)
|
||||
RichTextLabel/constants/line_separation = 1
|
||||
RichTextLabel/constants/shadow_as_outline = 0
|
||||
RichTextLabel/constants/shadow_offset_x = 1
|
||||
RichTextLabel/constants/shadow_offset_y = 1
|
||||
RichTextLabel/constants/table_hseparation = 3
|
||||
RichTextLabel/constants/shadow_outline_size = 0
|
||||
RichTextLabel/constants/table_h_separation = 3
|
||||
RichTextLabel/constants/table_vseparation = 3
|
||||
RichTextLabel/styles/focus = null
|
||||
RichTextLabel/styles/normal = null
|
||||
|
|
|
@ -37,7 +37,7 @@ Button/colors/font_color = Color(0.88, 0.88, 0.88, 1)
|
|||
Button/colors/font_color_disabled = Color(0.9, 0.9, 0.9, 0.2)
|
||||
Button/colors/font_color_hover = Color(0.94, 0.94, 0.94, 1)
|
||||
Button/colors/font_color_pressed = Color(1, 1, 1, 1)
|
||||
Button/constants/hseparation = 2
|
||||
Button/constants/h_separation = 2
|
||||
Button/fonts/font = null
|
||||
Button/styles/disabled = null
|
||||
Button/styles/focus = SubResource("1")
|
||||
|
|
Loading…
Reference in New Issue