mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-30 19:33:49 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user