Skip to content

Commit

Permalink
Added macro for a horizontal spacer line
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Mar 11, 2016
1 parent aa880e5 commit cb0f7d8
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions data/gui/default/macros/_initial.cfg
Expand Up @@ -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. ###
Expand Down

0 comments on commit cb0f7d8

Please sign in to comment.