mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 14:05:39 +00:00
Add optional WIDTH and HEIGHT arguments to GUI_FILLER
This commit is contained in:
parent
15b3317b36
commit
18e29731e6
@ -1,11 +1,23 @@
|
|||||||
#textdomain wesnoth-lib
|
#textdomain wesnoth-lib
|
||||||
|
|
||||||
# Defines the default spacer used to fill a grid cell.
|
# Defines the default spacer used to fill a grid cell.
|
||||||
# This is needed since empty cells aren't allowed.
|
# This is needed since empty cells aren't allowed.
|
||||||
|
|
||||||
#define GUI_FILLER
|
#define GUI_FILLER
|
||||||
|
|
||||||
|
#arg WIDTH
|
||||||
|
0 #endarg
|
||||||
|
|
||||||
|
#arg HEIGHT
|
||||||
|
0 #endarg
|
||||||
|
|
||||||
[column]
|
[column]
|
||||||
|
grow_factor = 0
|
||||||
|
|
||||||
[spacer]
|
[spacer]
|
||||||
|
width = {WIDTH}
|
||||||
|
height = {HEIGHT}
|
||||||
[/spacer]
|
[/spacer]
|
||||||
|
|
||||||
[/column]
|
[/column]
|
||||||
#enddef
|
#enddef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user