How to change columns width in uitable
显示 更早的评论

I want to reduce the width of [product emissions (kg co2eq)] By writing it in vertical way such as [Product . Emission . (kg co2eq)]
回答(1 个)
Set multiple rows of ColumnName strings,
uit.ColumnName{3} = sprintf('Product\nEmissions\n(Kg CO2eq)\n'); % uit is the uitable handle
类别
在 帮助中心 和 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!