Fix the unit tests for gui2.

This commit is contained in:
Fabian Müller 2011-02-14 20:55:55 +00:00
parent 836d86b65f
commit 2d01566730

View file

@ -1074,39 +1074,84 @@ if(gamemap_width - ({__GUI_IMAGE_WIDTH}) > {MAX_TEXT_WIDTH}
[column]
border = "all"
border_size = 5
horizontal_alignment = "center"
horizontal_grow = "true"
[button]
# This button will be shown or hidden depending on the
# whether or not a scrollbar is needed to show the
# text.
id = "ok"
definition = "transparent"
label = _ "OK"
[/button]
{_GUI_RECRUIT_LIST}
[/column]
[/row]
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "center"
[grid]
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "center"
[button]
# This button will be shown or hidden depending on the
# whether or not a scrollbar is needed to show the
# text.
id = "canel"
definition = "transparent"
[button]
# This button will be shown or hidden depending on the
# whether or not a sellection may be avoided
id = "help"
definition = "transparent"
label = _ "Help"
[/button]
[/column]
[column]
border = "all"
border_size = 5
horizontal_alignment = "center"
label = _ "Cancel"
[/button]
[button]
# This button will be shown or hidden depending on the
# whether or not a sellection may be avoided
id = "profile"
definition = "transparent"
[/column]
label = _ "Profile"
[/button]
[/column]
[/row]
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "center"
[button]
# This button will be shown or hidden depending on the
# whether or not a scrollbar is needed to show the
# text.
id = "ok"
definition = "transparent"
label = _ "OK"
[/button]
[/column]
[column]
border = "all"
border_size = 5
horizontal_alignment = "center"
[button]
# This button will be shown or hidden depending on the
# whether or not a scrollbar is needed to show the
# text.
id = "cancel"
definition = "transparent"
label = _ "Cancel"
[/button]
[/column]
[/row]
[/grid]
[/column]
[/row]
[/grid]