UI scaling changes from latest 2025a prerelease to official 2025a release
98 views (last 30 days)
Show older comments
William Thielicke
on 29 May 2025
Commented: Steven Lord
on 21 Aug 2025
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 Comments
William
on 4 Jun 2025
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.
Accepted Answer
Adam Danz
on 29 May 2025
Edited: Adam Danz
on 29 May 2025
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 Comments
Han Geerligs
on 21 Aug 2025
Edited: Han Geerligs
on 21 Aug 2025
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
on 21 Aug 2025
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.
More Answers (0)
See Also
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
