File tree 2 files changed +18
-0
lines changed
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,12 @@ All of these attributes are config attributes.
67
67
* * num_columns : int.* Number of columns for DeviceView.
68
68
* * control_title_box_color : Color.* Title box color for controls.
69
69
* * control_title_box_transparency : int.* Title box transparency for controls.
70
+ * * control_color : Color* , Set the control color, default is Color.WHITE_SMOKE.
71
+ * * control_border_color : Color.* Set the border color, default is Color.WHITE_SMOKE.
72
+ * * control_background_color: Color.* Set the background color, default is Color.BLACK.
73
+ * * control_title_font_size : int.* Size of the title font, default is 16.
74
+ * * control_max_font_size : int.* Set the maximum font size, default is 20.
75
+ * * control_background_transparency : int.* Background transparency of controls, default is 0.
70
76
* * num_grid_columns : int.* The num of grid columns on the edit view.
71
77
* * num_grid_rows : int.* The num of grid rows on the edit view.
72
78
* * user_tappable_color : Color.* The color of user table buttons on screen in controls
Original file line number Diff line number Diff line change @@ -137,6 +137,18 @@ class DeviceView(Control):
137
137
Title box color for controls
138
138
control_title_box_transparency : int
139
139
Title box transparency for controls
140
+ control_color : Color, default is Color.WHITE_SMOKE
141
+ set the control color.
142
+ control_border_color : Color, default is Color.WHITE_SMOKE
143
+ Set the border color.
144
+ control_background_color: Color, default is Color.BLACK,
145
+ Set the background color.
146
+ control_title_font_size : int, default is 16
147
+ Size of the title font.
148
+ control_max_font_size : int, default is 20
149
+ Set the maximum font size.
150
+ control_background_transparency : int, default is 0
151
+ Background transparency of controls.
140
152
num_grid_columns : int
141
153
The num of grid columns on the edit view
142
154
num_grid_rows : int
You can’t perform that action at this time.
0 commit comments