UI scaling changes from latest 2025a prerelease to official 2025a release
조회 수: 116 (최근 30일)
이전 댓글 표시
Hi, I spent MANY hours to get my GUI running in 2025a - I included many changes to fix all the scaling issues of ui elements. I was always using the latest prerelease to implement and test these changes. Now after the "big mathworks crash", I finally could download the official 2025a release. And I notice that the scaling of ui element has completely changed and everything is messed up again. This is driving me crazy! Why are there prereleases if things are again changed in the last second?
I hope this is just a dpi scaling thing that can be fixed easily. Anyone maybe with some hints where to search?
Thanks!
댓글 수: 2
William
2025년 6월 4일
I am in contact with the support. I think, the reason for the different scaling has something to do with different scaling of character units:
MainWindow = figure('numbertitle','off','MenuBar','none','DockControls','off','Name','Test...','Toolbar','none','tag','hgui','visible','on','WindowState','maximized');
set (MainWindow,'Units','Characters');
Figure_Size = get(MainWindow, 'Position')
get(0,"ScreenPixelsPerInch")
get(0,"ScreenSize")
close(MainWindow)
This gives different results for Matlab2025 and previous (pre)releases.
Accessibility Text Scaling is at 100%, Screen scaling is at 100%, set(groot,'DefaultUicontrolFontSize',8) has no effect.
채택된 답변
Adam Danz
2025년 5월 29일
편집: Adam Danz
2025년 5월 29일
There's a known issue using Accessibility Text Scaling on Windows that affects UI Components in R2025a and some earlier releases. The workraound is described in this report: https://www.mathworks.com/support/bugreports/details/3632276
If that does not solve the issue please work with Tech Support.
댓글 수: 9
Han Geerligs
2025년 8월 21일
편집: Han Geerligs
2025년 8월 21일
Hello I have the same issue when using uifigure dialogs with 'characters' units.in R2025a.
I was wondering when the fix from development is expected to be released.?
kind regards,
--Han
Steven Lord
2025년 8월 21일
You should follow the bug report Adam linked to in his answer. When anything significant changes (a new workaround added, a release in which the bug is fixed becomes available, etc.) the bug report will be updated and users following it will be notified.
We don't always send out notifications when bug reports get modified if the change is something like a typo fix, but "this bug is fixed in release X" would cause a notification to be sent.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

