Resizing Axis in App Designer Leaves 2nd image in GUI display

조회 수: 2 (최근 30일)
Dr W Kurt
Dr W Kurt 2024년 11월 17일
답변: Jaimin 2024년 11월 26일
My GUI looks ok, and all the code runs ok.
But, I want to add a few more text boxes, thus I need to enlarge the size, then resize the two plots. What happens when I do this is shown below, First step is I enlarge the Rx Signal axis, then when I drag it into position, I get a a total mess where there's another image of the 2nd axis and the Tx Signal axis I haven't touched, disappears...
  댓글 수: 1
Divyajyoti Nayak
Divyajyoti Nayak 2024년 11월 17일
Hi @Dr W Kurt, it would be helpful if you could provide the .mlapp file. Then it would be easier to debug the issue since it is difficult to recreate your GUI from scratch wih just the picture provided.

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

답변 (1개)

Jaimin
Jaimin 2024년 11월 26일
When working with MATLAB App Designer, you might encounter some unexpected behaviour when resizing and repositioning UI components like axes, especially if the layout isn't quite right. Here are a few steps and tips that might help you manage the layout better and avoid issues when adjusting plots:
Check the Grid Layout: If you are working with a uigridlayout, it is important to configure the grid correctly to manage how components resize. Ensure that the RowHeight and ColumnWidth properties are set appropriately, using options like fit, auto, or specific sizes as needed.
Use AutoResizeChildren: Enable the AutoResizeChildren property of the parent container, such as a panel or figure. This setting helps automatically adjust the size of child components when the parent container is resized.
Layering and Visibility: Check the visibility and layering of components to prevent overlap or hiding due to incorrect Z-order. Use Bring to Front or Send to Back in App Designer to manage component layers.
For more information kindly refer following MathWorks Documentation.
I hope this will be helpful.

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by