Style Properties
When you create a new plugin interface element, you can define the default style properties of the element. These properties can be changed later from the style properties panel in the layout editor.
The default style properties are defined as a json property, for example:
1
{
2
width: "auto",
3
height: "auto",
4
minWidth: "auto",
5
minHeight: "auto",
6
maxWidth: "none",
7
maxHeight: "none",
8
backgrounds: [],
9
borderPositions: [],
10
borderStyle: "none",
11
borderSize: 0,
12
borderColor: "black",
13
borderRadius: 0,
14
fontFamily: "Roboto",
15
color: "black",
16
fontSize: 15,
17
boxShadows: [],
18
textShadows: []
19
}
Copied!
Here is the list of style properties that can be defined for an interface element:

Dimensions

Copy link
Contents