<Window x:Class="OPlanner.MapSettings" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Settings" WindowStartupLocation="CenterOwner" SizeToContent="WidthAndHeight">
    <StackPanel Margin="10,10,10,10" HorizontalAlignment="Center" VerticalAlignment="Center">
        <StackPanel Orientation="Horizontal">
            <Label Width="89">Scale:</Label>
            <Label>1 to </Label>
            <TextBox Height="23" Name="scaleBox" Width="101" Margin="0,1,0,1"/>
            <Button Name="resetScaleButton" Margin="10,0,0,0" Click="resetScaleButton_Click">Reset</Button>
        </StackPanel>
		<StackPanel Orientation="Horizontal">
			<Label Width="120">Scale Map By:</Label>
			<TextBox Height="23" Name="scaleMapByBox" Width="70" Margin="0,1,0,1"/>
			<Label Width="31">%</Label>
			<Button Name="resetScaleMapByButton" Margin="10,0,0,0" Click="resetScaleMapByButton_Click">Reset</Button>
		</StackPanel>
		<StackPanel Orientation="Horizontal" Margin="0,1,0,1">
            <Label Width="120">Control Size:</Label>
            <TextBox Height="23" Name="controlSizeBox" Width="70" />
			<Label>mm</Label>
			<Button Name="resetControlSizeButton" Margin="10,0,0,0" Click="resetControlSizeButton_Click">Reset</Button>
        </StackPanel>
		<StackPanel Orientation="Horizontal" Margin="0,1,0,1">
			<Label Width="120">Line Width:</Label>
			<TextBox Height="23" Name="lineWidthBox" Width="70" />
			<Label>mm</Label>
			<Button Name="resetLineWidthButton" Margin="10,0,0,0" Click="resetLineWidthButton_Click">Reset</Button>
		</StackPanel>
		<StackPanel Orientation="Horizontal" Margin="0,1,0,1">
            <Label Width="120">Number Size:</Label>
            <TextBox Height="23" Name="numberSizeBox" Width="70" />
			<Label>mm</Label>
            <Button Name="resetNumberSizeButton" Margin="10,0,0,0" Click="resetNumberSizeButton_Click">Reset</Button>
        </StackPanel>
        <StackPanel Orientation="Horizontal" Margin="0,1,0,1">
            <Label Width="120">Number Offset:</Label>
            <TextBox Height="23" Name="numberOffsetBox" Width="70" />
			<Label>mm</Label>
            <Button Name="resetNumberOffsetButton" Margin="10,0,0,0" Click="resetNumberOffsetButton_Click">Reset</Button>
        </StackPanel>
        <StackPanel Orientation="Horizontal" Margin="0,1,0,1">
            <Label Width="120">Control Colour:</Label>
            <TextBox Height="23" Name="controlColourBox" Width="101" />
            <Button Name="resetControlColourButton" Margin="10,0,0,0" Click="resetControlColourButton_Click">Reset</Button>
        </StackPanel>
        <StackPanel Orientation="Horizontal" Margin="0,1,0,1">
            <Label Width="120">Description Box Size:</Label>
            <TextBox Height="23" Name="descriptionSizeBox" Width="70" />
			<Label>mm</Label>
            <Button Name="resetDescriptionSizeButton" Margin="10,0,0,0" Click="resetDescriptionSizeButton_Click">Reset</Button>
        </StackPanel>
        <StackPanel Orientation="Horizontal" Margin="0,1,0,1" HorizontalAlignment="Center">
            <Button Height="23" Name="saveButton" Margin="0,0,10,0" Click="saveButton_Click">Save</Button>
            <Button Height="23" Name="cancelButton" Click="cancelButton_Click">Cancel</Button>
        </StackPanel>
    </StackPanel>
</Window>
