#textdomain wesnoth-lib
###
### Dialog that tracks progress of a network transmission
###

[window]
	id = "network_transmission"
	description = "Dialog that tracks progress of a network transmission"

	[resolution]
		definition = "default"

		maximum_width = 800

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

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

		[grid]

			[row]

				[column]

					border = "all"
					border_size = 5
					horizontal_alignment = "left"

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

				[/column]

			[/row]

			[row]

				[column]

					border = "all"
					border_size = 5
					horizontal_alignment = "left"

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

				[/column]

			[/row]

			[row]

				[column]

					grow_factor = 1
					horizontal_grow = "true"
					border = "all"
					border_size = 5

					[progress_bar]
						id = "progress"
						definition = "default"
					[/progress_bar]

				[/column]

			[/row]

			[row]
			
				[column]

					border = "all"
					border_size = 5
					horizontal_alignment = "right"

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

				[/column]

			[/row]

			[row]

				[column]

					grow_factor = 1
					horizontal_grow = "true"

					[grid]

						[row]

							[column]

								grow_factor = 1

								[spacer]
									definition = "default"
								[/spacer]

							[/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]

