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

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일

0 개 추천

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')

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

질문:

2014년 10월 14일

답변:

2014년 10월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by