Clear Filters
Clear Filters

enlarge the fonts of all elements in the app designer project

6 views (last 30 days)
hi..it is possible to enlarge the fonts of all the elements without doing it individually?
  1 Comment
Luca Re
Luca Re on 14 Jun 2023
i follow this link:
Change font size of every components in uifigure(app designer) by following the uifigures's size - MATLAB Answers - MATLAB Central (mathworks.com)
i try to apply it in my code, but i receive error

Sign in to comment.

Answers (1)

Lohit
Lohit on 13 Jun 2023
If this is a plot with texts at specific positions, then you can use a similar line of code after your 'plot' command:
text(x_label_2,y_label_2,num2str('Label 2'),'FontSize',22);
The first 2 indices are the position coordinates of the point at which you want to display 'Label 2', 3rd index is the text you wish to see and then the font size can be altered further down the line.

Categories

Find more on Develop Apps Using App Designer 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!