Alignment for column names in uitables in App Designer

조회 수: 87(최근 30일)
Furkan Cakmak
Furkan Cakmak 2020년 5월 28일
댓글: nathan blanc 2022년 11월 8일
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,
  댓글 수: 1
Ali Taheri
Ali Taheri 2022년 2월 16일
Hello Cakmak,
how you align elements inside the table in center?

댓글을 달려면 로그인하십시오.

답변(1개)

Jalaj Gambhir
Jalaj Gambhir 2020년 8월 27일
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!
  댓글 수: 3
nathan blanc
nathan blanc 2022년 11월 8일
I have to say that is workaround is quite insufficient. if a table is part of an App and is changed interactively this complicates the code, sometimes siginifantly. Hope this issue will be fixed in upcoming releases.

댓글을 달려면 로그인하십시오.

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by