Change font size in column headings in App table

45 ビュー (過去 30 日間)
Victor Lejona
Victor Lejona 2019 年 11 月 28 日
回答済み: Paul Elliott 2024 年 1 月 29 日
I am trying to make the font size bigger in the column headings within an App's table.
I've seen a few answers already for this using html but this only worked with the old GUIDE, not with the new App Designer.
Does anyone have a solution please?
  5 件のコメント
Lisa Månsson
Lisa Månsson 2020 年 4 月 7 日
Same trouble here, have anyone of you solved it yet?
Adam Danz
Adam Danz 2021 年 12 月 27 日
編集済み: Adam Danz 2021 年 12 月 27 日
Do you want to see this feature available in future Matlab releases?
Since two years have passed and this thread still receives >100 views over 30 days and lots of follow-up requests, I suggest sending your use-cases and requests to Matlab Tech Support who collect the requests to motivate changes in future releases.
Contact Us - MATLAB & Simulink > "Create a service request" > "Technical Support: Installation, product help, bugs, suggestions, documentation errors, outages"
Here's a template if it's helpful.
Currently in Matlab R202Xx users cannot change the font properties of headers in uitables. Please consider supporting the ability to change font properties of uitable headers such as fontname, fontsize, etc in future releases. Also see this thread in the Matlab Central community: https://www.mathworks.com/matlabcentral/answers/493719

サインインしてコメントする。

回答 (4 件)

Adam Danz
Adam Danz 2020 年 4 月 7 日
As of r2020a, the fontsize of VariableNames and RowNames cannot be altered.
However, the r2020a release includes a larger and darker font.
For more info, see the release notes > r2020a > App Building > Functionality Being Removed or Changed > Font size and color of column and row headers in table UI components.
  1 件のコメント
Rocky Zhang
Rocky Zhang 2020 年 10 月 6 日
shame and annoying.

サインインしてコメントする。


Markus Riepold
Markus Riepold 2021 年 5 月 4 日
One workaround for me was to delete the column name and place a Label right there. For labels, one can choose fonts and sizes.
  1 件のコメント
Eric Delgado
Eric Delgado 2021 年 12 月 24 日
It sounds like my approach to deal with this issue. An uitable as a child of an uigrid with the same columnwidth value. The only problem is that you loose the default interaction (sort columns, for example) ans that is the reason @MathWorks Support Team should deal with it. Please Mathworks, we need at least "fontname", "fontsize" and "wordwrap" properties of uitable titles avaliables to edit.

サインインしてコメントする。


Eric Delgado
Eric Delgado 2022 年 4 月 10 日
Matlab 2022a didn't bring a solution to this issue.... still not possible to control FontSize, FontName and WordWrap properties of uitable Columns.

Paul Elliott
Paul Elliott 2024 年 1 月 29 日
I'm new to matlab's app designer, and was asking this question today. In my case, the headings on my data table never change. I'm currently opting for a VERY low tech solution. I created a Text area with the names of the respecive collumns. I selected the same font size used for the data, and aligned data in the text area with the columns below.

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by