フィルターのクリア

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 Center および File ExchangeAudio and Video Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by