change tickness and font in table
4 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1557964/image.png)
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
2024-2-8
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!