|
@@ -38,27 +38,30 @@
|
|
|
<Button DockPanel.Dock="Bottom" Width="70" HorizontalAlignment="Center" Margin="15"
|
|
|
Style="{StaticResource DarkRoundButton}" Content="Resize" Click="Button_Click" IsDefault="True" />
|
|
|
|
|
|
- <StackPanel HorizontalAlignment="Center" Margin="0,30,0,0" Background="{StaticResource MainColor}"
|
|
|
- VerticalAlignment="Top" Grid.Row="1" Width="250" Height="290">
|
|
|
- <userControls:SizePicker Margin="0,8,0,0"
|
|
|
- Width="240"
|
|
|
- Height="170"
|
|
|
- x:Name="sizePicker"
|
|
|
- Focusable="True"
|
|
|
- ChosenHeight="{Binding NewAbsoluteHeight, Mode=TwoWay, ElementName=window}"
|
|
|
- ChosenWidth="{Binding NewAbsoluteWidth, Mode=TwoWay, ElementName=window}"
|
|
|
- ChosenPercentageSize="{Binding NewPercentageSize, Mode=TwoWay, ElementName=window}"
|
|
|
- SelectedUnit="{ Binding NewSelectedUnit, Mode=TwoWay, ElementName=window}"
|
|
|
- SizeUnitSelectionVisibility="Visible"
|
|
|
- />
|
|
|
- <Separator Margin="10,5,10,0" Background="{StaticResource AccentColor}" Height="1" />
|
|
|
- <DockPanel>
|
|
|
- <Label Content="Anchor point:" Foreground="White" Margin="25,5,0,0" HorizontalAlignment="Left"
|
|
|
- FontSize="12" />
|
|
|
- <userControls:AnchorPointPicker AnchorPoint="{Binding Path=SelectedAnchorPoint, Mode=TwoWay, ElementName=window}"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- Width="78" Margin="0,10,30,0" Height="78" />
|
|
|
- </DockPanel>
|
|
|
- </StackPanel>
|
|
|
+ <Border HorizontalAlignment="Center" Margin="0,30,0,0" Background="{StaticResource MainColor}"
|
|
|
+ VerticalAlignment="Top" Grid.Row="1" Width="250" Height="290" CornerRadius="10">
|
|
|
+ <StackPanel
|
|
|
+ >
|
|
|
+ <userControls:SizePicker Margin="0,8,0,0"
|
|
|
+ Width="240"
|
|
|
+ Height="170"
|
|
|
+ x:Name="sizePicker"
|
|
|
+ Focusable="True"
|
|
|
+ ChosenHeight="{Binding NewAbsoluteHeight, Mode=TwoWay, ElementName=window}"
|
|
|
+ ChosenWidth="{Binding NewAbsoluteWidth, Mode=TwoWay, ElementName=window}"
|
|
|
+ ChosenPercentageSize="{Binding NewPercentageSize, Mode=TwoWay, ElementName=window}"
|
|
|
+ SelectedUnit="{ Binding NewSelectedUnit, Mode=TwoWay, ElementName=window}"
|
|
|
+ SizeUnitSelectionVisibility="Visible"
|
|
|
+ />
|
|
|
+ <Separator Margin="10,5,10,0" Background="{StaticResource AccentColor}" Height="1" />
|
|
|
+ <DockPanel>
|
|
|
+ <Label Content="Anchor point:" Foreground="White" Margin="25,5,0,0" HorizontalAlignment="Left"
|
|
|
+ FontSize="12" />
|
|
|
+ <userControls:AnchorPointPicker AnchorPoint="{Binding Path=SelectedAnchorPoint, Mode=TwoWay, ElementName=window}"
|
|
|
+ HorizontalAlignment="Right"
|
|
|
+ Width="78" Margin="0,10,30,0" Height="78" />
|
|
|
+ </DockPanel>
|
|
|
+ </StackPanel>
|
|
|
+ </Border>
|
|
|
</DockPanel>
|
|
|
</dial:ResizeablePopup>
|