<Window x:Class="OPlanner.CanvasSizeProperties" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Canvas Size" WindowStartupLocation="CenterOwner" Width="300" Height="200">
    <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
        <StackPanel Orientation="Horizontal">
            <RadioButton Name="autoButton" GroupName="CanvasSizeModeGroup" Checked="autoButton_Checked">Auto</RadioButton>
            <RadioButton Name="manualButton" GroupName="CanvasSizeModeGroup" Margin="5,0,0,0" Checked="manualButton_Checked">Manual</RadioButton>
        </StackPanel>
        <StackPanel Orientation="Horizontal" Margin="0,5,0,0" Name="manualPanel">
            <Label>Width:</Label>
            <TextBox Width="50" Name="manualWidth"></TextBox>
            <Label Margin="5,0,0,0">Height:</Label>
            <TextBox Width="50" Name="manualHeight"></TextBox>
        </StackPanel>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,5,0,0">
            <Button Name="saveButton" Click="saveButton_Click">Save</Button>
            <Button Margin="5,0,0,0" Name="cancelButton" Click="cancelButton_Click">Cancel</Button>
        </StackPanel>
    </StackPanel>
</Window>
