How can add minimize or maximize button feature in GUI figures or tables ?
조회 수: 11 (최근 30일)
이전 댓글 표시
I have GUI built in Guide environmen. The GUI has a region where the plot figures and tables can be displayed using pushbutton/s. When I press the button it only outputs the figure or table but no minimize and maximize options can be seen. I would like to add minimize or maximize the figures and tables within GUI How can I do it ? Any suggestions ?
댓글 수: 0
채택된 답변
Image Analyst
2020년 12월 20일
I don't know what it means to maximize a table on a figure, but to maximize the figure itself, you can do
g = gcf;
g.WindowState = 'maximized'
댓글 수: 2
Image Analyst
2020년 12월 21일
You can set the Position property of the control to be whatever you want. Like
handles.uitable.Units = 'normalized';
handles.uitable1.Position = [0, 0, 1, 1];
If not, then show a picture of your GUI before, and then after maximizing. Use a paint program to create it it you need to.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Tables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!