Info

この質問は閉じられています。 編集または回答するには再度開いてください。

uipushtool not shown correctly when the State is 'on' and figure is on focus

2 ビュー (過去 30 日間)
Arabarra
Arabarra 2019 年 5 月 1 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by