Is it possible to change the App designer UITable colour scheme

18 ビュー (過去 30 日間)
TJ
TJ 2021 年 3 月 16 日
コメント済み: Manas Meena 2021 年 3 月 24 日
Hi,
I'm trying to reduce the brightness of the App Designer app I have. However I am finding it difficult to change some of the color properties of the UITable and the default background color of UIAxes components.
For the UITable I can change the color of the cells, but not the empty spaces (white) and the row and column headers + slider (all light gray).
Same for the slider on ListBoxes (gray), and the default background color on UIAxes (white).
Is it possible to change these colors? I need to reduce the light output from a monitor the App is running on. I'm using release 2020a.
Hope you can help.

回答 (1 件)

Manas Meena
Manas Meena 2021 年 3 月 22 日
You can change the background colour using the following command:
app.editFieldName.BackgroundColor = colorVal;
as for ListBox you can only control the appearance and behaviour of the properties mentioned here.
  2 件のコメント
TJ
TJ 2021 年 3 月 23 日
okay, thanks, and what about the UITable, You can see the problem reducing the brightness here
Manas Meena
Manas Meena 2021 年 3 月 24 日
You can try to use HTML in the columnname parameter to change the colours in the headers
columnname = {'<FONT color="green">Rate</BODY>', ....}
if by sliders you mean the scroll bar, I don't think there is a direct way to customize them as of now.

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

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by