04-24-2016 08:19 PM
I'm trying to get a window to fit a 1920x1080 resolution monitor, but having trouble actually visualizing this on my laptop. As I'm understanding, there should be a 1:1 pixel mapping between the height and width settings in window size properties and a monitor's display resolution (that is, height=1080, width=1920 should fit to a 1920x1080 desktop). But I'm running LabVIEW on a 4k monitor (3840x2160), and as a result there is scaling to increase visibility of non-4k applications. My window which is set to 1920x1080 appears enormous (much larger than it should), even on non-4k monitors I hook up as secondary monitors from my laptop, which is probably due to the scaling. So my question is: even though it may not look correct, am I correct in setting the height and width as I did for a 1920x1080 fit? Or is there another mapping ratio? I'd try this on another system with a non-4k monitor if I had access to it currently! Thanks!
04-25-2016 05:00 AM
04-25-2016 05:48 AM
You will also want to set your window height to be a little less than the screen's height resolution. You will want to account for the taskbar that is typically at the bottom of the screen.