File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,6 +67,12 @@ All of these attributes are config attributes.
6767* * num_columns : int.* Number of columns for DeviceView.
6868* * control_title_box_color : Color.* Title box color for controls.
6969* * 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.
7076* * num_grid_columns : int.* The num of grid columns on the edit view.
7177* * num_grid_rows : int.* The num of grid rows on the edit view.
7278* * 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):
137137 Title box color for controls
138138 control_title_box_transparency : int
139139 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.
140152 num_grid_columns : int
141153 The num of grid columns on the edit view
142154 num_grid_rows : int
You can’t perform that action at this time.
0 commit comments