Hi,
mlapps designed in appdesigner no longer appear the same way when running, as in app designer. Margins are different etc. I am using windows 11 but did not have these issues on an earlier windows version and same matlab version. Zooming with mouse wheel + ctrl scales most but not all ui elements, a uiaxes is unaffected by zooming. No zoom level can make the app look acceptable.
  1. How can I make the app appear the exactly same way in appdesigner and when running? Currently what you see is NOT what you get.
  2. How can I prevent zooming? I have set resize off, but that makes no difference.
This is a serious issues as I have no control over the appearance of the application.
Thanks,
M

댓글 수: 3

Jason
Jason 2026년 2월 5일 16:47
편집: Jason 2026년 2월 5일 17:47
I think I still experience issue 2. I want to restrict mouse controls for the plots, but users still try to zoom on plots with ctrl+mouse wheel and it scales the entire program by accident. This is only a problem on compiled versions of the software, not during development.
Do I have the same issue as you @Mattias Arlbrant ?
And is this the issue that was solved in R2025a @Adam Danz ?
I am running R2025b.
Adam Danz
Adam Danz 2026년 2월 5일 21:10
@Jason, since the problem only happens in compiled apps, it may be a separate issue. Please contact tech support and include instructions how to reproduce the problem. Feel free to include the URL of this thread. Thanks for reporting!
Jason
Jason 2026년 2월 6일 19:57
Tech support got back to me, and it is a known bug in MATLAB R2025b. No workaround. ☹️

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

답변 (2개)

Adam Danz
Adam Danz 2025년 3월 20일

0 개 추천

The zoom issue you are describing has been fixed for the R2025a release and is avalable in the R2025a pre-release. There is no workaround for the zoom issues in R2024b.

댓글 수: 2

Mattias Arlbrant
Mattias Arlbrant 2025년 3월 20일
Hi Adam, Many thanks for responding! Good that #2 is known and a fix is coming! What about #1, any idea or advice on that one?
Adam Danz
Adam Danz 2025년 3월 20일
You're welcome!
I was wondering how to addresss #1. It's hard to say without seeing what the differences are. It could be related to an accessibility feature in Windows 11 or it could be due to a change with java components. To get more targeted help with issue #1 contact tech support and include information about your MATLAB release and operating system. Feel free to reference this thread.

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

Image Analyst
Image Analyst 2026년 2월 6일 1:40

0 개 추천

I don't know about zooming into plots versus the entire GUI, but I know the layout of your main app's gui is messed up if you are using a Windows display personalization of more than 100%. Component just don't show up in the right place as you rescale/resize your GUI. Sometimes they are clipped and sometimes all or part of them are off screen. The way around this is to apply a "grid layout" to your GUI and then position all your components on the grid. Then as you rescale the GUI the grid rescales and the components seem to rescale and reposition correctly. It's a pain in the neck but it's the only way they can suggest to get things to layout properly.

카테고리

도움말 센터File Exchange에서 Develop uifigure-Based Apps에 대해 자세히 알아보기

제품

릴리스

R2024b

질문:

2025년 3월 20일

댓글:

2026년 2월 6일 19:57

Community Treasure Hunt

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

Start Hunting!

Translated by