From 18e29731e626f093417783221f3ab2dfbcbe23db Mon Sep 17 00:00:00 2001 From: Charles Dang Date: Mon, 27 Mar 2017 20:40:09 +1100 Subject: [PATCH] Add optional WIDTH and HEIGHT arguments to GUI_FILLER --- data/gui/macros/filler.cfg | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/data/gui/macros/filler.cfg b/data/gui/macros/filler.cfg index 0a031acba34..4b7b1d9587b 100644 --- a/data/gui/macros/filler.cfg +++ b/data/gui/macros/filler.cfg @@ -1,11 +1,23 @@ #textdomain wesnoth-lib + # Defines the default spacer used to fill a grid cell. # This is needed since empty cells aren't allowed. #define GUI_FILLER + +#arg WIDTH +0 #endarg + +#arg HEIGHT +0 #endarg + [column] + grow_factor = 0 + [spacer] + width = {WIDTH} + height = {HEIGHT} [/spacer] + [/column] #enddef -