Resizing bug when using multiple popup menus on figure?

For some reason, if I create more then one pop up menu on a figure and then resize the figure, only the first one is resized correctly while the other ones are cropped.
figure
pu = uicontrol('Style', 'popup', 'String', 'A|B|C');
set(pu, 'fontunits', 'normalized', 'Units', 'normalized', 'Position', [0.01 0.8 0.08 0.05]);
pu = uicontrol('Style', 'popup', 'String', 'A|B|C');
set(pu, 'fontunits', 'normalized', 'Units', 'normalized', 'Position', [0.01 0.7 0.08 0.05]);
This is what it looks like at first:
After resizing it :
And then resizing it back:

1 件のコメント

per isakson
per isakson 2014 年 7 月 29 日
The code looks ok to me. I cannot reproduce your problem on my R2013a,64bit,Win7.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGraphics Object Properties についてさらに検索

質問済み:

2014 年 7 月 29 日

コメント済み:

2014 年 7 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by