UITable in app designer-Matlab
古いコメントを表示
Hello
I am using a table in app designer with n columns and m rows.
when displaying the table, a white space is usually displayed after the rows.
How do i can remove this white space?
Thanks
回答 (2 件)
J. Alex Lee
2020 年 8 月 20 日
2 投票
I think this works if you have a recent version of matlab, you can place the uitable inside a uigridlayout, and set the "cell" height to "fit"
3 件のコメント
J. Alex Lee
2020 年 8 月 27 日
@Hussein, did you look at the documentation linked above?
Hussein Rida
2020 年 8 月 27 日
Edwin Henry Jara Bardales
2023 年 4 月 8 日
@J. Alex Lee. Thanks man, that's what I'm looking for!
Georges G.
2020 年 8 月 20 日
編集済み: Georges G.
2020 年 8 月 21 日
0 投票
Yes, I can confirm, only with the latest version of MatLab your app, UIGridLayout is able to contain UITable , if you leave it empty the height is dynamic. however for dynamic row heights, I would assuem you would need to manually set each row height independantly, or as Alex indicated to use height set to fit.
2 件のコメント
J. Alex Lee
2020 年 8 月 20 日
@Georges, are you aware of the "fit" specifier for RowHeight and ColumnWidth properties? They will elastically shrink to contain the largest element contained in the grid element.
Hussein Rida
2020 年 8 月 26 日
カテゴリ
ヘルプ センター および 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!