gui window dose not fit the screen, changing the pixels characters ratio

2 views (last 30 days)
I created a gui window. running the gui on some computers it seems the window dose not fit the screen, as a result some of the buttons are not accesiable.
After some investigation I get to the conclusion the problem is probably the ratio between pixels and characters. On the computers the gui looks good this ratio is [5 12]. and on the computers it doesn't looks right it's [6 16].
does anyone know how to change the pixel characthers ratio? Thanks, Asaf

Answers (1)

Orion
Orion on 14 Oct 2014
Hi,
you can create your gui directly in characters unit. if you're using guide, use the inspector on the figure and change the unit property to character. or use the set command to change it : set(gcf,'units','characters')

Categories

Find more on App Building 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!