raylib: fix full size alert text (#36379)

* stash so far

* try this

* better

* fast

* rename

* revert

* clean up

* yes

* hack to make it work for now

* actually fix

* fix
This commit is contained in:
Shane Smiskol
2025-10-15 22:53:37 -07:00
committed by GitHub
parent b29b1964ba
commit 65e1fd299e
4 changed files with 53 additions and 11 deletions
+2 -2
View File
@@ -96,8 +96,8 @@ class Button(Widget):
self._border_radius = border_radius
self._background_color = BUTTON_BACKGROUND_COLORS[self._button_style]
self._label = Label(text, font_size, font_weight, text_alignment, text_padding,
BUTTON_TEXT_COLOR[self._button_style], icon=icon)
self._label = Label(text, font_size, font_weight, text_alignment, text_padding=text_padding,
text_color=BUTTON_TEXT_COLOR[self._button_style], icon=icon)
self._click_callback = click_callback
self._multi_touch = multi_touch