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 Thielicke
William Thielicke 2025년 5월 30일
New scaling in 2025a
Old scaling in 2024b (and 2025a latest prerelease)
William
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
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
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
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 CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

제품


릴리스

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by