ColumnWidth Property on uitable

조회 수: 4 (최근 30일)
Alex
Alex 2015년 9월 29일
편집: Alex 2015년 9월 29일
Creating an uitable with initial 'ColumnWidth' values that can be changed by the user. Does anyone know if Mathworks allows to get the current ColumnWidth values yet? People have been asking for this since 2009 and I know very well Yair's Auto Resize trick but I can't use 3rd party code. I have not found a way to go around this using MATLAB native function/properties.

답변 (1개)

Jan
Jan 2015년 9월 29일
Does anyone know if Mathworks allows to get the current ColumnWidth values yet?
An answer is not trivial. Do you mean "The Mathworks" or "Matlab"? While I'm sure that the company will allow this freely, Matlab does not have the power to do this directly. When you cannot use 3rd party code, the only way I see is a screenshot and counting pixels between the bars. This can be done with "native Matlab functions", but I would hesitate to implement it.
  댓글 수: 1
Alex
Alex 2015년 9월 29일
편집: Alex 2015년 9월 29일
Thank you, Jan. I was looking for an option like SET_AUTO RESIZE or something like. Obviously, after so many years they have not added it. No choice but to create jTable object myself and from there go. The GUI can be resized and stuff like that so counting manually doesn't work. Thanks!!

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

카테고리

Help CenterFile Exchange에서 App Building에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by