#textdomain wesnoth-lib
###
### Definition of the window to show chat log.
###

[window]
    id = "chat_log"
    description = "Chat log dialog."

    [resolution]
        definition = "default"
        automatic_placement = "true"
        vertical_placement = "center"
        horizontal_placement = "center"
        maximum_width = 800
        maximum_height = 600

        [tooltip]
            id = "tooltip_large"
        [/tooltip]

        [helptip]
            id = "tooltip_large"
        [/helptip]

        [grid]
            [row] #header
                grow_factor = 0

                [column]
                    grow_factor = 7
                    border = "all"
                    border_size = 5
                    horizontal_alignment = "left"

                    [label]
                        definition = "title"
                        label = _ "Chat Log"
                    [/label]
                [/column]
            [/row]
            [row] #menu
                grow_factor = 0

                [column]
                    grow_factor = 7
                    horizontal_alignment = "left"
                    [grid]
                        [row]
                            [column]
                                grow_factor = 1
                                border = "all"
                                border_size = 5
                                [label]
                                    definition = "default"
                                    label = _ "Page:"
                                [/label]
                            [/column]
                            [column]
                                grow_factor = 5
                                border = "all"
                                border_size = 5
                                [slider]
                                    id = "page_number"
                                    definition = "default"
                                    minimum_value = 1
                                    maximum_value = 100
                                    step_size = 1
                                    maximum_value_label = _"Last"
                                [/slider]
                            [/column]
                            [column]
                                grow_factor = 0
                                border = "all"
                                border_size = 5
                                [button]
                                    id = "previous_page"
                                    definition = "default"
                                    label = _ "Previous"
                                [/button]
                            [/column]
                            [column]
                                grow_factor = 0
                                border = "all"
                                border_size = 5
                                [button]
                                    id = "next_page"
                                    definition = "default"
                                    label = _ "Next"
                                [/button]
                            [/column]
                        [/row]
                    [/grid]
                [/column]
            [/row]
            [row] #choice
                grow_factor="7"
                [column]
                    grow_factor = 7
                    border = "all"
                    border_size = 5
                    horizontal_alignment = "left"
                    [scroll_label]
                        id = "msg"
                        definition = "default"
                        label = ""
                    [/scroll_label]
                [/column]
            [/row]
            [row] #status
                grow_factor = 0

                [column]
                    grow_factor = 0
                    border = "all"
                    border_size = 5
                    horizontal_alignment = "right"
                    [button]
                        id = "cancel"
                        definition = "default"
                        label = _ "Close"
                    [/button]
                [/column]
            [/row]
        [/grid]
    [/resolution]
[/window]
