Added macro for a horizontal spacer line
This commit is contained in:
parent
aa880e57e9
commit
cb0f7d81fa
1 changed files with 37 additions and 0 deletions
|
@ -237,6 +237,43 @@
|
|||
height = "(screen_height)"
|
||||
#enddef
|
||||
|
||||
#define GUI_HORIZONTAL_SPACER_LINE
|
||||
[row]
|
||||
grow_factor = 0
|
||||
|
||||
[column]
|
||||
grow_factor = 1
|
||||
border = "all"
|
||||
border_size = 10
|
||||
horizontal_grow = true
|
||||
|
||||
[drawing]
|
||||
definition = "default"
|
||||
|
||||
width = (width)
|
||||
height = 1
|
||||
|
||||
[draw]
|
||||
|
||||
[line]
|
||||
x1 = 0
|
||||
y1 = 0
|
||||
x2 = (width - 1)
|
||||
y2 = 0
|
||||
|
||||
color = {GUI__FONT_COLOR_DISABLED__DEFAULT}
|
||||
thickness = 1
|
||||
[/line]
|
||||
|
||||
[/draw]
|
||||
|
||||
[/drawing]
|
||||
|
||||
[/column]
|
||||
|
||||
[/row]
|
||||
#enddef
|
||||
|
||||
###############################################################################
|
||||
### ###
|
||||
### Macros for the normal gui. ###
|
||||
|
|
Loading…
Add table
Reference in a new issue