带有深色背景主题的工具栏
版权
2018-2019 The MathWorks Inc.
创建小部件
demoToolbar;
设置颜色
%的颜色
Bgcolor = 0.3 * [1 1 1];
%的背景
Fgcolor = 0.8 * [1 1 1];
%前景(文本)
Labelbgcolor = 0.2 * [1 1 1];
%的背景
集(w,
...
“写成BackgroundColor”
告诉我们,
...
“ForegroundColor”
FGCOLOR,
...
“LabelForegroundColor”
FGCOLOR,
...
“LabelBackgroundColor”
, LABELBGCOLOR);