필터 지우기
필터 지우기

Problems using normalized units in uitab

조회 수: 2 (최근 30일)
pipapo
pipapo 2016년 3월 4일
답변: Nicolás Casaballe 2016년 5월 30일
Hi,
right now I'm programing a gui. I want to use uitabs. Normally I'm always using normalized units for everything. But unfortunately these are not working in uitabs. If I'm using them, the 'slider' or 'text' won't be shown. Does anybody know of problems of uitabs uising normalized units?
Thanks, Max
  댓글 수: 1
Geoff Hayes
Geoff Hayes 2016년 3월 5일
Max - how are you using the uitabs? Which version of MATLAB are you using? Please provide a small sample of code that illustrates the problem.

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

답변 (1개)

Nicolás Casaballe
Nicolás Casaballe 2016년 5월 30일
I found a similar issue. I managed to workaround it by specifying normalized units when creating the control. E.g.
t = uitab(gcf); % Apparently, normalized units are default here
c = uicontrol(t,'Style','text',...
'String','A wild tab appears!',...
'Units','Normalized',...
'Position',[0.10 0.50 0.50 0.20]);

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by