Version 3 of High Resolution Displays

Updated 2016-05-02 16:08:56 by bll

With more and more pc makers using high resolution and retina displays, how does one ensure that Tcl/Tk programs stay reasonable on these new displays? There is a lot of code here in the wiki as well as my own where window sizes are set using wm minsize/maxsize and various geometry settings. Same goes for font sizes too. However, I found out that on these high resolution displays, these scripts result in incredibly small windows wherein it is almost impossible to read menus and labels and what not.

How do you deal with this?

bll 2015-12-31: I have put some effort into this question here: User Interface Design: Sizing of Elements. The page also covers localization concerns in addition to high resolution displays. Please feel free to expand upon the ideas presented there.

bll 2016-5-2: With VirtualBox, I set the guest window to scaled mode, and then: VBoxManage controlvm win7-64 setvideomodehint 3840 2160 32

bll 2016-5-2: Things that do not work with 4K display (assuming that the font scale is set correctly):

Checkbuttons do not scale.

Scale sliders do not scale very well.

Native Menus are sized by the operating system.