フィルターのクリア

moved object in app designer

3 ビュー (過去 30 日間)
Luca Re
Luca Re 2023 年 10 月 23 日
コメント済み: Luca Re 2023 年 11 月 6 日
in design view app designer i save app(immagine1)
often when I reopen it I find the objects moved(immagine2)

採用された回答

Nipun
Nipun 2023 年 11 月 6 日
Hi Luca,
I understand that you are facing an issue in App Designer where the components get re-arranged when the app is reopened. I assume that you are using MATLAB R2019a or later.
If there are objects in your layout that either touch or interfere with other objects or toolbars in your application, that may cause app designer to reorder the objects in a different layout. There are two ways that may help you to resolve this issue:
  1. Make sure that no objects or toolbars touch the boundary of your app. You can do this by rearranging or resizing the objects in the layout.
  2. You may consider deleting or commenting out the call to “movegui” subroutine in the startup function. This subroutine is responsible for relocating the application view on the screen when the app screen is not maximised.
For more information, you can refer to the following MATLAB Answer where a similar issue has been addressed: https://in.mathworks.com/matlabcentral/answers/1732445-app-designer-messes-up-component-layout-after-opening-the-app
Hope this helps.
Regards,
Nipun
  1 件のコメント
Luca Re
Luca Re 2023 年 11 月 6 日
Thank you

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by