Matlab GUI size problem

조회 수: 4 (최근 30일)
shanmukh
shanmukh 2013년 6월 12일
I have created a GUI in matlab in PC with resolution of 1280*1024, when i open GUI in different PC with resolution 1366*768 half of the GUI on the top is cut off, please let me know how to solve this problem

답변 (1개)

Vishal Rane
Vishal Rane 2013년 6월 13일
Try using the
'Units', 'Normalized'
param-value combination for all GUI components including the GUI itself.
This tells MATLAB to adjust the normalized components as per parent size. Position is from 0 to 1. eg. position [ 0.25 0.25 .5 .5 ] tell matlab to keep the GUI size such that,
- GUI height and width are 50% of the screen
- GUI bottom-left is at 25% distance from bottom-left corner of screen

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by