19 | | |
20 | | === Parametric icons === |
21 | | there are six positional parameters: |
22 | | |
23 | | fill color,fill opacity, outline color, outline opacity, outline width (default 8) and corner radius (default 22, use 0 for right angle) |
24 | | |
25 | | to use default value, just don't fill in the positional parameter ''( len(parameter) == 0 )'' |
26 | | |
27 | | EXAMPLE: '''''generic:green;1.0;blue;0.5;10;15''''' |
28 | | |
29 | | |
30 | | ==== Icon placement ==== |
31 | | |
32 | | "center" means that we have an icon which we want to center inside the button there re two parameters - icon name and border width |
33 | | |
34 | | EXAMPLE: '''''center:more;0.1''''' |
35 | | * icon name: more |
36 | | * border width: 10% of shortest icon side |