4 ms·
I don't know why you assume I'm here to give you helpful answers, but I'll bite. Try a combo box on high dpi. The arrow button gets a lot thinner than on 96 dp
by jansommer 3y ago
I don't know why you assume I'm here to give you helpful answers, but I'll bite.
Try a combo box on high dpi. The arrow button gets a lot thinner than on 96 dpi.
- dataflow 3y agoI didn't assume you'd give a helpful answer, but I didn't expect you to give that kind of an answer, either. You're always welcome not to respond if this is taking too much of your time. I figured maybe at least one of us would learn something about high DPI issues, hence why I engaged. And I did just try what you said and the combo box fine to me: https://imgur.com/a/Mb83tPj https://imgur.com/a/Mb83tPj
- jansommer 3y agoThat is not the default Win32 combobox. I don't know what you're using, but it's not the plain c api.
- binjooou 3y agoThat is the default combobox if you enable "visual styles" (which you should do on Windows XP and above)
- jansommer 3y agobinjooou: The whole point for me when using win32 is to use the default look, since it's a better ui compared to todays flat design. But I acknowledge that there could be a little less dpi work associated with enabling visual styles.
- dataflow 3y agoThis is most definitely the default combo box. In fact, I just tried the version without visual styles as well, and that one looks fine under high DPI too (see screenshot). At this point I'm very confused what you are doing. Perhaps you're not on Windows 10?
- jansommer 3y agodataflow: That is indeed a nice looking combobox in your new screenshot. I'm not getting that result on win10 when using the Win32 c api, and if you're not using something like WinForms, MFC or another abstraction, it's hard to say why it works for you. I'm on a 4k resolution with 200% scaling and the button is way too thin.
- dataflow 3y agoI'm not sure if this makes a difference but do you see that problem with dialogs (resources + DialogBox) rather than basic windows? If I remember & get a chance later I can try to make a minimal example. Edit: Based on this comment [1] I'm guessing you're on something like Windows 8.1 rather than a recent version of Windows 10 or later. [1] https://www.reddit.com/r/programming/comments/d77mf7/comment/f0zax1k/?utm_source=share&utm_medium=mweb3x https://www.reddit.com/r/programming/comments/d77mf7/comment...
- jansommer 3y agoNo, win10