Popup Menu Height

It seems if you change the fontsize of a Popup menu, Windows will increase the height accordingly…
But OSX does not :frowning:

Does anyone know how to adjust the height of a Popup Menu in OSX so it works “properly” cross platform?

I am deeply involved into a Windows project at this moment, trying (and mostly succeeding) to emulate the Metro UI with a desktop app. The PopupMenu/Combobox indeed grows there with the font size.

The true Metro way is to combine a TextField with a Listbox, but the original control does a fairly decent job.

On Mac, it is strange : the drop down part does grow with the font size, but not the size of the control itself. I checked, it seems there is no way even at the declare level to change the height of that control. In XCode, the height is grayed out.

I tried sticking a TextField over ; the little blue dropdown trigger looks a bit odd, but it works. The alternative is to do it the Metro way : EditField+ListBox.

[quote=171431:@Dave S]

Does anyone know how to adjust the height of a Popup Menu in OSX so it works “properly” cross platform?[/quote]

using ‘SmallSystem’ Font makes the height less
other Fonts do not change the height

Thanks… I need it “bigger” as in 18 point…
So I guess I’ll just do it the iOS way with an “>” indicator… which is ok, since there will be an iOS version of this app and making them have the same user experience is a better idea anyways.

Do “properly” and “cross-platform” really belong in the same sentence? Sometimes, the Apple world just seems weird. Like they’re intentionally screwing with us.

perhaps “consistently” would have been more appropriate :slight_smile:

I just realized you were talking about the PopupMenu and not combobox. What about scaling up the picture of a regular OS X popupmenu button in a canvas ? Even using Drawinto in a picture from the real control off window before scaling it to size. That could look less odd than using an iOS piece of UI…

I’m looking to create a “consistent” user experience across OSX/Win/iOS (and maybe Android someday)… So I don’t want to create a custom control to do something on OSX, when I don’t need that for Windows, and iOS would use something else. So if I have to create something “special”, why not create a UI that is consistent across all three? This way the user experience on any device is exactly the same, and the user doesn’t have to deal with multiple workflows just because the device is different.

I thought you wanted to keep the specific look for each platform. I had not understood.

The issue I find most between Desktop and touch devices is that lists have to be made larger for the touch. I am in the middle of touchifying a Windows desktop app so it behaves better on tablets, and find the Metro controls of interest in that regard. By many aspects, they are close to iOS/Android, but since they are made with regular controls, it can be of interest to create a unified control.

https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh465351.aspx