Combobox - "Layer" under 4k

Started by Peter2, July 18, 2018, 08:29:17 AM

Previous topic - Next topic

Peter2

I have a dialogue where I set all "Font-settings" to " 'Font Size Scaled to Monitor' "

On 4k-monitors it looks OK, but the Layer-combobox looks rather "compressed". Should line-heights be defined by the user or by the software?

Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

owenwengerd

Layer combo line height is hard-coded at 16 pixels. I've modified the code now to scale the line height along with display scale. The icons are a fixed size, so they will appear relatively smaller on a hi-res display, but I think it should nevertheless have a nicer appearance.

Peter2

Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

Peter2

Quote from: owenwengerd on September 09, 2018, 06:50:06 PM
...but I think it should nevertheless have a nicer appearance.
Hi Owen,
is this issue already solved? I'm not sure - colleagues still report this issue with current versions.
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

owenwengerd

Yes Peter, the mentioned fix was included in 9.0.2.0. Can you tell me the font values to use in the ComboBoxLab sample to reproduce the problem?

Peter2

I have to wait until Monday to reach my colleague for a current screenshot of his 4k-monitor, but here are the settins.
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

owenwengerd

I've attached a screen shot of the combo box lab on my display (display scaling at 150%) showing a layer combo with font size -9.

Peter2

Thanks Owen,

it's OK now. Was our mistake.
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10