font-size: convert components/button
Manually tested all instances, larger button labels work everywhere.
@@ -44,7 +44,7 @@ typedef struct {
static void _render(component_t* component)
{
button_data_t* data = (button_data_t*)component->data;
- UG_FontSelect(&font_font_a_9X9);
+ UG_FontSelect(&font_font_a_11X10);
UG_FontSetHSpace(0);
UG_PutStringCentered(
component->position.left,
@@ -204,7 +204,7 @@ void button_update(component_t* button, const char* text, void (*callback)(compo
button_data_t* data = (button_data_t*)button->data;
data->callback = callback;
data->text = text;
- UG_FontSelect(&font_font_a_9X9);
+ UG_FontSelect(&font_font_a_11X10);
UG_FontSetHSpace(0);
UG_MeasureString(&(button->dimension.width), &(button->dimension.height), text);
if (button->dimension.width < MIN_BUTTON_WIDTH) {
