UITable in app designer-Matlab
Ältere Kommentare anzeigen
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
Antworten (2)
J. Alex Lee
am 20 Aug. 2020
2 Stimmen
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 Kommentare
J. Alex Lee
am 27 Aug. 2020
@Hussein, did you look at the documentation linked above?
Hussein Rida
am 27 Aug. 2020
Edwin Henry Jara Bardales
am 8 Apr. 2023
@J. Alex Lee. Thanks man, that's what I'm looking for!
Georges G.
am 20 Aug. 2020
Bearbeitet: Georges G.
am 21 Aug. 2020
0 Stimmen
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 Kommentare
J. Alex Lee
am 20 Aug. 2020
@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
am 26 Aug. 2020
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!