필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 1 (최근 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