GUI table first column width adjustment

조회 수: 5 (최근 30일)
wYw
wYw 2019년 8월 23일
댓글: wYw 2019년 8월 29일
Hi everyone,
I'm trying to adjust the first column width of my table in Matlab GUI.
matlab question.png
I know how to adjust the width marked in red with set(handles.PulseProperties,'ColumnWidth',{10,20,30,40}); function or using Table Property Editor.
But I'm curious if there is a way to adjust the width marked in black, basically the row name region.
Currently it's automatically fitted by Matlab according to the length of the string. But as you can see it's so wide that takes a lot of space.
Any ideas?
  댓글 수: 1
Adam Danz
Adam Danz 2019년 8월 23일
Matlab does not currently have a method of changing the width to the row name "column" (column in quotes because it's not a UITable column). You could move those row names to the UI table and then control the width. See similar, recent discussion here:

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

채택된 답변

Priyanshu Mishra
Priyanshu Mishra 2019년 8월 29일
I have heard that this issue is known and the concerned parties may be investigating further. This may be enhanced in future releases.
  댓글 수: 2
Adam Danz
Adam Danz 2019년 8월 29일
Good! This question has been asked several times in the forum. The row names should have accessible properties.
wYw
wYw 2019년 8월 29일
Thanks for the reply. It would be really convenient if it could be implemented in the future.

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

추가 답변 (0개)

제품


릴리스

R2012b

Community Treasure Hunt

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

Start Hunting!

Translated by