wesnoth/data/gui/default/window/campaign_dialog.cfg
Mark de Wever 978aa913ad Add the preview pane for the campaign dialog.
The pane still needs quite a bit tuning and the extra layout phase looks
rather bad.
2009-03-01 16:24:42 +00:00

202 lines
3.0 KiB
INI

#textdomain wesnoth
# FIXME should be in wesnoth-lib, but don't want to break the stringfreeze.
###
### Definition of the window select the campaign to play
###
[window]
id = "campaign_selection"
description = "Campaign selection dialog."
[resolution]
definition = "default"
automatic_placement = "true"
vertical_placement = "center"
horizontal_placement = "center"
[grid]
[row]
grow_factor = 0
[column]
grow_factor = 1
border = "all"
border_size = 5
horizontal_alignment = "left"
[label]
definition = "title"
label = _ "Play a campaign"
[/label]
[/column]
[/row]
[row]
grow_factor = 1
[column]
grow_factor = 1
horizontal_grow = "true"
[grid]
[row]
grow_factor = 1
vertical_grow = "true"
[column]
grow_factor = 0
border = "all"
border_size = 5
horizontal_alignment = "left"
[listbox]
id = "campaign_list"
definition = "default"
vertical_scrollbar_mode = "auto"
horizontal_scrollbar_mode = "never"
[list_definition]
[row]
[column]
grow_factor = 1
horizontal_grow = "true"
[toggle_button]
definition = "listbox_text_with_icon"
return_value_id = "ok"
[/toggle_button]
[/column]
[/row]
[/list_definition]
[/listbox]
[/column]
[column]
grow_factor = 1
horizontal_grow = "true"
border = "all"
border_size = 5
vertical_alignment = "top"
# FIXME show the addon pane.
[panel]
definition = "default"
[grid]
[row]
grow_factor = 0
[column]
[scroll_label]
id = "description"
definition = "default"
[/scroll_label]
[/column]
[/row]
[row]
grow_factor = 1
[column]
horizontal_alignment = "center"
vertical_alignment = "top"
[image]
id = "image"
definition = "default"
[/image]
[/column]
[/row]
[/grid]
[/panel]
[/column]
[/row]
[/grid]
[/column]
[/row]
[row]
grow_factor = 0
[column]
grow_factor = 1
horizontal_grow = "true"
[grid]
[row]
grow_factor = 0
[column]
border = "all"
border_size = 5
horizontal_alignment = "right"
[button]
id = "ok"
definition = "default"
label = _ "OK"
[/button]
[/column]
[column]
border = "all"
border_size = 5
horizontal_alignment = "right"
[button]
id = "cancel"
definition = "default"
label = _ "Cancel"
[/button]
[/column]
[/row]
[/grid]
[/column]
[/row]
[/grid]
[/resolution]
[/window]