change tickness and font in table

5 views (last 30 days)
aldo
aldo on 1 Dec 2023
Answered: Austin M. Weber on 8 Feb 2024
i use table in app designer:
2 question:
1) Is it possible to change the thickness of the vertical line?
2)It is possible to make the font used smaller in app.UITable.ColumName?

Answers (1)

Austin M. Weber
Austin M. Weber on 8 Feb 2024
Hi @aldo,
1) Unfortunately, no, I don't think it's possible to change the width of the vertical lines in a table.
2) It is possible to make the table font smaller, but not for individual columns. You can only change the font size for every column. Doing this is pretty straightforward: in the callback function that adds data to the table you should include the following
sz = 8;
app.UIAxes.FontSize = sz;
You can set sz to any number you like.

Community Treasure Hunt

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

Start Hunting!