I want to ask, how to change uitable rows height, because there is no option in the uitable properties. Thanks in advice.

 採用された回答

Oleg Komarov
Oleg Komarov 2011 年 3 月 9 日

0 投票

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

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 3 月 9 日

0 投票

Please have a look at the information on Undocumented Matlab

カテゴリ

ヘルプ センター および File Exchange で Operating on Diagonal Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by