MATLAB Answers

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

1 view (last 30 days)
farzad
farzad on 10 May 2020
Commented: Mohammad Sami on 11 May 2020
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 Comments

Mohammad Sami
Mohammad Sami on 11 May 2020
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.

Sign in to comment.

Answers (0)

Categories


Translated by