MATLAB Answers

Bring components to the front in app designer

9 views (last 30 days)
Carla White
Carla White on 1 Nov 2017
Answered: Mohammad Sami on 26 Aug 2021
I have an app that loads images into a UIAxes component and a list of input components to the right of this. As Matlab leaves a large border around the image I laid the inputs on top of the axes in design view. However when I run the app it still stays on top of a number of these. Is there any way I can tell Matlab to keep the inputs on top? Alternatively is there a way I can reduce the border around the axes? I have done this in scripts in the past using the 'tightinset' property but I get an error telling me I am not allowed to edit this n app designer.
Thanks Carla

Answers (1)

Mohammad Sami
Mohammad Sami on 26 Aug 2021
If you only wish to display the image and not interact with it (eg zoom) then perhaps you can use uiimage to display your image instead of uiaxes.

Community Treasure Hunt

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

Start Hunting!