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

6 visualizaciones (últimos 30 días)
Tally
Tally el 14 de Oct. de 2014
Respondida: Orion el 14 de Oct. de 2014
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

Respuestas (1)

Orion
Orion el 14 de Oct. de 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')

Community Treasure Hunt

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

Start Hunting!

Translated by