normalised units in gui not working

5 views (last 30 days)
corroMat
corroMat on 18 Dec 2018
Commented: corroMat on 18 Dec 2018
Hi,
I am using Matlab 2015b (due to compatability reasons with older laptops we need to use) and have created a gui using normalised units to position my buttons, text and checkboxes. This works fine on my laptop and I can make the gui quite small before it becomes unusable. I checked it using just my laptop and no additional screens - fine. We have compiled this software and again on my laptop it works fine. It works on my colleagues laptop (the same spec as mine but no other similar content). However, on other laptops, the ones where we need the software to work, it looks different. The uicontrols are spaced out and the lower ones have dropped off the bottom to be unreachable. One of these laptops is windows 8, but the other is windows 10 like mine and it's the same make. Does anyone have any suggestions to what I can do to make this fit? I don't understand why nomalised units would be spaced out and why it's fine on some but not others.
Any ideas welcome
thanks
  2 Comments
Jan
Jan on 18 Dec 2018
Did you change the scaling factor in Windows on the computers, which do not work? I'm not sure, what "spaced out" means. Can you post a screenshot?
corroMat
corroMat on 18 Dec 2018
The first figure is what it supposed to look like. . The second is what it looks like on this other laptop. Another latop is different again (somewhere inbetween). There is more blank space between the uicontrols in the second (spaced out) even though the actual size of the window is smaller in mine. what do you mean by windows scaling?
We tried changing the screen resolution, ensureed that the windows display settings were 100% and not 125%, and also changed the override high DPI scaling behavior option in windows 10 but no difference to the software.
main.png
other.png

Sign in to comment.

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!