change tickness and font in table

6 次查看(过去 30 天)
aldo
aldo 2023-12-1
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?

回答(1 个)

Austin M. Weber
Austin M. Weber 2024-2-8
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.

类别

Help CenterFile Exchange 中查找有关 Grid Lines, Tick Values, and Labels 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by