UI OptionButton Font Size

Try something like this:

$OptionButton.get_popup().add_theme_font_size_override("font_size", your_desired_font_size)

get_popup() in the docs:

add-theme-font-size-override in the docs:

Previous answers to similar questions:

I hope this helps.

1 Like