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

조회 수: 6 (최근 30일)
Tally
Tally 2014년 10월 14일
답변: Orion 2014년 10월 14일
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

답변 (1개)

Orion
Orion 2014년 10월 14일
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