Info
この質問は閉じられています。 編集または回答するには再度開いてください。
uipushtool not shown correctly when the State is 'on' and figure is on focus
2 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I'm running R2019a on a Mac, and I've detected that the uipushtool icons in a figure do not appear shadowed when they are in 'On' state when the figure is on focus. I've written a small script to describe the problem:
fh = figure();
b = uitoolbar(fh);
a = rand(8,8,3);
htt = uitoggletool(b,'CData',a,'TooltipString','Hello');
htt.State = 'on';
fh.Name = 'So, the pushtool is not shadowed... but way three seconds...';
pause(3);
newFigure = figure();
fh.Name = '.... now it IS shadowed, as the focus is transferred to another figure';
newFigure.Name = 'I am the figure under focus... look at the pushtool in the other figure!';
Is there a (lower level) way to enforce that the icon of the uitoggletool appears correctly shadowed when the state is 'On'?
0 件のコメント
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!