Appdesigner uitable darkmode including header (column name) and blank part

4 ビュー (過去 30 日間)
Charbel
Charbel 2020 年 4 月 14 日
回答済み: TED MOSBY 2025 年 8 月 22 日
Do you have any tip to change the table background color of a uitable inside app designer including the header (column name) and the blank part like the attached image?

回答 (1 件)

TED MOSBY
TED MOSBY 2025 年 8 月 22 日
Hi,
You can change the background of the table excluing the headers as of now.
uit = uitable(uifigure,'Data',rand(100,10));
s = uistyle;
s.FontColor = 'blue';
addStyle(uit,s);
uit.BackgroundColor = 'red';
Here is some documentation for reference:
Hope it helps!

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by