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

Ayman Abdalla
Ayman Abdalla 2021년 1월 12일
I tried to type it 'Product\n Emissions\n (Kg CO2eq)\n ' but it doesn't work

댓글을 달려면 로그인하십시오.

답변 (1개)

Adam Danz
Adam Danz 2021년 1월 12일
편집: Adam Danz 2021년 1월 15일

0 개 추천

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에 대해 자세히 알아보기

제품

릴리스

R2018b

질문:

2021년 1월 12일

편집:

2021년 1월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by