wesnoth/data/gui/default/widget/listbox_default.cfg
2008-07-18 19:48:53 +00:00

156 lines
2.6 KiB
INI

###
### Definition of a listbox
###
###
### NOTE a listbox has multiple scroll button options, these aren't all used
### but to show them they are kept here commented out.
###
[listbox_definition]
id = "default"
description = "a listbox"
[resolution]
min_width = 100
min_height = 100
default_width = 100
default_height = 100
max_width = 0
max_height = 0
text_font_size = 16
minimum_positioner_length = 11
top_offset = 0
bottom_offset = 0
[state_enabled]
[draw]
[/draw]
[/state_enabled]
[state_disabled]
[draw]
[/draw]
[/state_disabled]
[scrollbar]
# [row]
# [column]
# # note we want a special button definition for this later.
# [button]
# id = "_begin" # FIXME look whether or not to rename to top and bottom
# definition = "default"
#
# label = "begin"
# [/button]
# [/column]
# [/row]
# [row]
# [column]
# # note we want a special button definition for this later.
# [button]
# id = "_page_up"
# definition = "default"
#
# label = "page up"
# [/button]
# [/column]
# [/row]
[row]
[column]
# note we want a special button definition for this later.
[button]
id = "_half_page_up"
definition = "up_arrow"
[/button]
[/column]
[/row]
# [row]
# [column]
# # note we want a special button definition for this later.
# [button]
# id = "_line_up"
# definition = "default"
#
# label = "line up"
# [/button]
# [/column]
# [/row]
[row]
grow_factor = 1
[column]
vertical_grow = "true"
[vertical_scrollbar]
id = "_scrollbar"
definition = "default"
[/vertical_scrollbar]
[/column]
[/row]
# [row]
# [column]
# # note we want a special button definition for this later.
# [button]
# id = "_line_down"
# definition = "default"
#
# label = "line down"
# [/button]
# [/column]
# [/row]
[row]
[column]
# note we want a special button definition for this later.
[button]
id = "_half_page_down"
definition = "down_arrow"
[/button]
[/column]
[/row]
# [row]
# [column]
# # note we want a special button definition for this later.
# [button]
# id = "_page_down"
# definition = "default"
#
# label = "page down"
# [/button]
# [/column]
# [/row]
# [row]
# [column]
# # note we want a special button definition for this later.
# [button]
# id = "_end"
# definition = "default"
#
# label = "end"
# [/button]
# [/column]
# [/row]
[/scrollbar]
[/resolution]
[/listbox_definition]