How to set size of MenuButton/PopupMenu items?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By kbal

How can I set the size/height of MenuButton/PopupMenu items?

They are too small for high pixel density devices, especially for touch selection.

1 Like
:bust_in_silhouette: Reply From: kbal

I found a solution that works for me:

options_button.get_popup().set("custom_constants/vseparation", 30)

Hey there!

In case anyone else stumbles upon this (like me):

You can set the size of the PopupMenu items by increasing the font size of the Items and additionally increase the vertical seperation - both via. Themes: