You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
For now I use Ubuntu for my coding and I think I have stumbled upon a bug with outline_color. I runt latest dev, 0.57 with Python 3.10.
I use widget_styles and have tested the outline_color and outline_width, it works great in the same slide as long as I use the same "color:" for all my text.
As soon I change the regular font-color to something else (so I use two colors), both the font and outline_color gets the same color on the second one, it then go for the font-color for both.
If I use the same font color I can use any outline_color without issues. I have also tried with different fonts, removing font choice completely etc.
As an example:
(If I use the below code in the same slide, the widget_style attract_mode_high_score_display_label works properly, the text is white and have a black outline. attract_mode_high_score_display_name is set to give the font a black color and white outline, BOTH font and outline gets black. If I try any other font color, for example yellow both the font and color_outline gets yellow).
- type: Text
text: (machine|score1_label)
style: attract_mode_high_score_display_label
y: top-200
- type: Text
text: (machine|score1_name)
style: attract_mode_high_score_display_name
y: top-200
widget_styles:
attract_mode_high_score_display_label:
font_size: 80
anchor_x: right
anchor_y: center
x: center-3100
font_name: arial
color: white
outline_color: black
outline_width: 2
attract_mode_high_score_display_name:
font_size: 70
anchor_x: right
anchor_y: center
x: center-2900
color: black
font_name: Impact
outline_color: white
outline_width: 2
The text was updated successfully, but these errors were encountered:
Tried this in a completely new setup. Same problem exist there, as soon the font colors differs in the same slide the the outline_color fails to set the color correctly.
Hello.
For now I use Ubuntu for my coding and I think I have stumbled upon a bug with outline_color. I runt latest dev, 0.57 with Python 3.10.
I use widget_styles and have tested the outline_color and outline_width, it works great in the same slide as long as I use the same "color:" for all my text.
As soon I change the regular font-color to something else (so I use two colors), both the font and outline_color gets the same color on the second one, it then go for the font-color for both.
If I use the same font color I can use any outline_color without issues. I have also tried with different fonts, removing font choice completely etc.
As an example:
(If I use the below code in the same slide, the widget_style attract_mode_high_score_display_label works properly, the text is white and have a black outline. attract_mode_high_score_display_name is set to give the font a black color and white outline, BOTH font and outline gets black. If I try any other font color, for example yellow both the font and color_outline gets yellow).
widget_styles:
attract_mode_high_score_display_label:
font_size: 80
anchor_x: right
anchor_y: center
x: center-3100
font_name: arial
color: white
outline_color: black
outline_width: 2
attract_mode_high_score_display_name:
font_size: 70
anchor_x: right
anchor_y: center
x: center-2900
color: black
font_name: Impact
outline_color: white
outline_width: 2
The text was updated successfully, but these errors were encountered: