Hi, I'm using Matlab app designer with Matlab R2022b and all UIAxes I used are stuck in the Background. In the Component browser I can reorder them but they will allways stay behind all other Components.
Did anyone experience the same Problem and knows how to avoid it ?
Thanks Moritz

댓글 수: 4

chrisw23
chrisw23 2022년 10월 24일
Keep an eye on the uiAxes size and place them safe within it's parents borders to avoid this. The Components Browser provides also informations about the controls location within the parent/child hierarchy.
MoSo395
MoSo395 2022년 10월 24일
편집: MoSo395 2022년 10월 24일
Thank you for your fast answer. Sadly Im still not able to solve the problem. Even in a new app Im not able to reorder. Also it is allways behind the Image, wether I place it first or afterwards...
Mario Malic
Mario Malic 2022년 10월 24일
Isn't there a Bring to front button on the canvas?
MoSo395
MoSo395 2022년 10월 24일
편집: MoSo395 2022년 10월 24일
Yes, but it only reorders the UIAxes if I got several, but never brings them in front of the image. Otherwise it is not available... I now worked around it by cuting the Image into parts and laying them aroud the Axes :/

댓글을 달려면 로그인하십시오.

답변 (1개)

Amit Dhakite
Amit Dhakite 2023년 6월 6일

0 개 추천

This is a known issue in MATLAB.
As a workaround, you can wrap your "uiaxes" with a "uipanel" and it will be visible over the "uiimage". For the "uipanel", you can turn the Border Type to "none" and the Title to the empty string.
A simple example demonstrating this is attached here for your reference.
To know more about "uipanel", kindly refer to the following link: https://www.mathworks.com/help/matlab/ref/uipanel.html

카테고리

도움말 센터File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

질문:

2022년 10월 24일

답변:

2023년 6월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by