#textdomain wesnoth-lib
###
### In game normal message dialog with some optional buttons and an icon.
###

[window]
	id = "message"
	description = "Message dialog with 1 ok button for now."

	[resolution]
		definition = "default"

		click_dismiss = "true"
		maximum_width = 800

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

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

		[grid]

			[row]

				[column]

					horizontal_alignment = "left"

					[grid]

						[row]

							[column]
								vertical_alignment = "top"

								[image]
									id = "image"
									definition = "default"
								[/image]

							[/column]

							[column]
								grow_factor = 1
								vertical_alignment = "top"
								horizontal_alignment = "left"

								[grid]

									[row]

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

											[label]
												id = "title"
												definition = "title"
											[/label]

										[/column]

									[/row]

									[row]
										grow_factor = 1

										[column]
											border = "all"
											border_size = 5
											vertical_alignment = "top"
											horizontal_alignment = "left"

											[scroll_label]
												id = "label"
 												definition = "default"
											[/scroll_label]

										[/column]

									[/row]

								[/grid]

							[/column]

						[/row]

					[/grid]

				[/column]

			[/row]

			[row]

				[column]

					[grid]

						[row]

							# This button will be shown or hidden depending on the
							# whether or not a scrollbar is needed to show the
							# text.
							[column]
								border = "all"
								border_size = 5
								horizontal_alignment = "center"

								[button]
									id = "left_side"
									definition = "default"

									label = ""
								[/button]

							[/column]

							[column]
								border = "all"
								border_size = 5
								horizontal_alignment = "center"

								[button]
									id = "ok"
									definition = "default"

									label = _ "Close"
								[/button]

							[/column]

							[column]
								border = "all"
								border_size = 5
								horizontal_alignment = "center"

								[button]
									id = "cancel"
									definition = "default"

									label = _ "Cancel"
								[/button]

							[/column]

							[column]
								border = "all"
								border_size = 5
								horizontal_alignment = "center"

								[button]
									id = "right_side"
									definition = "default"

									label = ""
								[/button]

							[/column]

						[/row]

					[/grid]

				[/column]

			[/row]

		[/grid]

	[/resolution]

[/window]

