|
@@ -21,7 +21,7 @@
|
|
|
<Setter Property="BehaveLikeSmallEmbeddedField" Value="False"/>
|
|
|
<Setter Property="FontSize" Value="12"/>
|
|
|
<Setter Property="Margin" Value="10,0,0,0"/>
|
|
|
- <Setter Property="Width" Value="120"/>
|
|
|
+ <Setter Property="Width" Value="80"/>
|
|
|
<Setter Property="Height" Value="30"/>
|
|
|
</Style>
|
|
|
</UserControl.Resources>
|
|
@@ -57,6 +57,8 @@
|
|
|
IsEnabled="{Binding EditingEnabled, ElementName=uc}"
|
|
|
Size="{Binding Path=ChosenPercentageSize, ElementName=uc, Mode=TwoWay}"
|
|
|
Unit="Percentage"
|
|
|
+ Margin="-10,0,0,0"
|
|
|
+ Width="80"
|
|
|
>
|
|
|
|
|
|
<i:Interaction.Triggers>
|
|
@@ -95,8 +97,11 @@
|
|
|
<TextBlock Grid.Column="0" Grid.Row="0" Foreground="Snow" Text="Width:" VerticalAlignment="Center" HorizontalAlignment="Left" />
|
|
|
<local:SizeInput Grid.Column="1" Grid.Row="0"
|
|
|
x:Name="WidthPicker"
|
|
|
+ Width="80"
|
|
|
IsEnabled="{Binding EditingEnabled, ElementName=uc}"
|
|
|
- Size="{Binding Path=ChosenWidth, ElementName=uc, Mode=TwoWay}">
|
|
|
+ Size="{Binding Path=ChosenWidth, ElementName=uc, Mode=TwoWay}"
|
|
|
+ Margin="50,0,0,0"
|
|
|
+ >
|
|
|
<i:Interaction.Triggers>
|
|
|
<i:EventTrigger EventName="LostFocus">
|
|
|
<i:InvokeCommandAction Command="{Binding ElementName=uc, Path=WidthLostFocusCommand}"/>
|
|
@@ -108,6 +113,7 @@
|
|
|
<local:SizeInput Grid.Column="1" Grid.Row="1"
|
|
|
x:Name="HeightPicker"
|
|
|
IsEnabled="{Binding EditingEnabled, ElementName=uc}"
|
|
|
+ Margin="50,0,0,0"
|
|
|
Size="{Binding ChosenHeight, ElementName=uc, Mode=TwoWay}">
|
|
|
<i:Interaction.Triggers>
|
|
|
<i:EventTrigger EventName="LostFocus">
|