close
Warning:
AdminModule failed with TracError: Unable to instantiate component <class 'trac.admin.web_ui.BasicsAdminPanel'> (super(type, obj): obj must be an instance or subtype of type)
- Timestamp:
-
May 12, 2012, 10:46:54 AM (14 years ago)
- Author:
-
Martin Kolman
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v5
|
v6
|
|
| 21 | 21 | there are five positional parameters: |
| 22 | 22 | |
| 23 | | fill color,fill opacity, outline color, outline opacity, outline width (default 8) and corner radius (default 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 | 24 | |
| 25 | 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 | |
| 26 | 29 | |
| 27 | 30 | ==== Icon placement ==== |
| … |
… |
|
| 29 | 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 |
| 30 | 33 | |
| 31 | | EXAMPLE: ''center:more;0.1'' |
| | 34 | EXAMPLE: '''''center:more;0.1''''' |
| 32 | 35 | * icon name: more |
| 33 | 36 | * border width: 10% of shortest icon side |