change tickness and font in table

7 visualizzazioni (ultimi 30 giorni)
aldo
aldo il 1 Dic 2023
Risposto: Austin M. Weber il 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?

Risposte (1)

Austin M. Weber
Austin M. Weber il 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.

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by