app.UIAxes stuck in Background
Show older comments
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 Comments
chrisw23
on 24 Oct 2022
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.
Mario Malic
on 24 Oct 2022
Isn't there a Bring to front button on the canvas?
Answers (1)
Amit Dhakite
on 6 Jun 2023
0 votes
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
Categories
Find more on Dialog Boxes in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!