PopUp Height vs TextField Height

Hi all, strange issue here. I have a PopUpMenu object next to a TextField object. Both have the same height. In Windows, the PopUp height is displayed based on font size but the textfield is not. I’m in Windows 11 and running Xojo 2022 3.1. I’m not using styled text. When I run the application, it looks like the two objects have different heights but they don’t. See images below:


How do I fix this so that the two field appear the same height?

That’s how the native UI controls work. You might be able to do something by calling the OS via declares but I personally wouldn’t try to fight it.

1 Like