필터 지우기
필터 지우기

change size of rectangles in full screen

조회 수: 3 (최근 30일)
piero
piero 2023년 6월 10일
댓글: claudio 2023년 8월 20일
in the photo on the left when the window is reduced...in the photo on the right when I enlarge the window to full screen

답변 (4개)

claudio
claudio 2023년 6월 10일
handle = findall(0,'type','uispinner');
handle.outerPosition = [xx yy width heigth];
  댓글 수: 2
piero
piero 2023년 6월 10일
hi i receive this erro
Unrecognized function or variable 'xx'.
in [xx yy width heigth] what value i write?
claudio
claudio 2023년 8월 20일
xx = coordinate along x axis
yy = coordinate along y axis

댓글을 달려면 로그인하십시오.


Simon Chan
Simon Chan 2023년 6월 10일
Check this:
One way is to set AutoResizeChildren of uifigure to off.
  댓글 수: 2
piero
piero 2023년 6월 10일
was already selected
Simon Chan
Simon Chan 2023년 6월 10일
Attached the demo for your reference.

댓글을 달려면 로그인하십시오.


chicken vector
chicken vector 2023년 6월 10일
Use uigridlayout to customise these parameters and have autmatic scalability when you change figure's dimensions.
You can set scalable or pixel width:
uif = uifigure;
uig = uigridlayout(uif, [3 3]);
uig.RowHeight = {'1x',20,'1x'};
uig.ColumnWidth = {'1x',50,'1x'};
uis = uispinner(uig);
uis.Layout.Row = 2;
uis.Layout.Column = 2;
  댓글 수: 1
piero
piero 2023년 6월 10일
편집: piero 2023년 6월 10일
It's correct to write here your code?
If i execute code i don't see difference

댓글을 달려면 로그인하십시오.


piero
piero 2023년 6월 10일

카테고리

Help CenterFile Exchange에서 Develop uifigure-Based Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by