MATLAB Answers

Alignment for column names in uitables in App Designer

27 views (last 30 days)
Furkan Cakmak
Furkan Cakmak on 28 May 2020
Answered: Jalaj Gambhir on 27 Aug 2020
Hello,
I am struggling about making the alingment of column names. I want them to be positioned as center. I know how to do this for elements inside the table, but I could not figure out how to apply same thing for column names as well. Has anybody faced and solved this problem?
Regards,

  0 Comments

Sign in to comment.

Answers (1)

Jalaj Gambhir
Jalaj Gambhir on 27 Aug 2020
Hi,
I have heard that this issue is known and the concerned parties may be investigating further.
Meanwhile an indirect workaround that you might try is to have another table with one row (without column header) and place it on top of your main table as its column header. You can apply uistyle to align the contents in the second table with only one row, which can be further used as column header in your main table.
Hope this helps!

  0 Comments

Sign in to comment.

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!