Fix the styling of disabled buttons

pull/9/head
passivestar 2024-06-06 20:02:26 +07:00
parent 6d4f9c879f
commit bbdd038614
2 changed files with 6 additions and 10 deletions

@ -41,11 +41,7 @@ content_margin_left = 6.0
content_margin_top = 4.0
content_margin_right = 6.0
content_margin_bottom = 4.0
bg_color = Color(1, 1, 1, 0)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
bg_color = Color(1, 1, 1, 0.0588235)
border_color = Color(1, 1, 1, 0.0784314)
corner_radius_top_left = 4
corner_radius_top_right = 4
@ -647,6 +643,8 @@ MenuButton/styles/normal_mirrored = SubResource("StyleBoxFlat_l5ore")
MenuButton/styles/pressed = SubResource("StyleBoxFlat_l5ore")
MenuButton/styles/pressed_mirrored = SubResource("StyleBoxFlat_l5ore")
OptionButton/colors/font_pressed_color = Color(1, 1, 1, 1)
OptionButton/styles/disabled = SubResource("StyleBoxFlat_s11c6")
OptionButton/styles/disabled_mirrored = SubResource("StyleBoxFlat_s11c6")
OptionButton/styles/focus = SubResource("StyleBoxFlat_tj0ge")
OptionButton/styles/hover = SubResource("StyleBoxFlat_ohale")
OptionButton/styles/hover_mirrored = SubResource("StyleBoxFlat_ohale")

@ -41,11 +41,7 @@ content_margin_left = 12.0
content_margin_top = 8.0
content_margin_right = 12.0
content_margin_bottom = 8.0
bg_color = Color(1, 1, 1, 0)
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
bg_color = Color(1, 1, 1, 0.0588235)
border_color = Color(1, 1, 1, 0.0784314)
corner_radius_top_left = 8
corner_radius_top_right = 8
@ -647,6 +643,8 @@ MenuButton/styles/normal_mirrored = SubResource("StyleBoxFlat_l5ore")
MenuButton/styles/pressed = SubResource("StyleBoxFlat_l5ore")
MenuButton/styles/pressed_mirrored = SubResource("StyleBoxFlat_l5ore")
OptionButton/colors/font_pressed_color = Color(1, 1, 1, 1)
OptionButton/styles/disabled = SubResource("StyleBoxFlat_s11c6")
OptionButton/styles/disabled_mirrored = SubResource("StyleBoxFlat_s11c6")
OptionButton/styles/focus = SubResource("StyleBoxFlat_tj0ge")
OptionButton/styles/hover = SubResource("StyleBoxFlat_ohale")
OptionButton/styles/hover_mirrored = SubResource("StyleBoxFlat_ohale")