Uitable Row Height

28 visualizzazioni (ultimi 30 giorni)
Eggo Ogge
Eggo Ogge il 9 Mar 2011
I want to ask, how to change uitable rows height, because there is no option in the uitable properties. Thanks in advice.

Risposta accettata

Oleg Komarov
Oleg Komarov il 9 Mar 2011
The only way to affect the row height, as Yair explains here (msg 5/6), is to reprogram the resizing callback.
On the other side, adjusting the fontsize automatically adjusts the row heigth.
f = figure('Position',[200 200 400 150]);
dat = rand(3);
t = uitable('Parent',f,'Data',dat,'Position',[20 20 360 100],'FontS',13);
Oleg

Più risposte (1)

Walter Roberson
Walter Roberson il 9 Mar 2011
Please have a look at the information on Undocumented Matlab

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by