UITable does not keep its size fixed when stretching the app window size

2 ビュー (過去 30 日間)
farzad
farzad 2020 年 5 月 10 日
コメント済み: Mohammad Sami 2020 年 5 月 11 日
Hi All
once I open my app window in Matlab, if I drag and stretch the window, the UITable in it can not comply with this size change, and white areas appear in it that enlarge with stretching. I used the following code in app startup , since the example in the help is for a specific case and is not usefull. but it still doesn't work
app.UITable.Position=[639,50,540,156];
  2 件のコメント
Mohammad Sami
Mohammad Sami 2020 年 5 月 11 日
Place the table inside a grid layout. It will auto resize when windows size is changed.
However if the content is not big enough to fill the space, you still see the white space.

サインインしてコメントする。

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by