|
|
|
@ -16,18 +16,18 @@
@@ -16,18 +16,18 @@
|
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
<Grid.RowDefinitions> |
|
|
|
|
<RowDefinition Height="Auto" /> |
|
|
|
|
<RowDefinition Height="Auto" /> |
|
|
|
|
<RowDefinition Height="50" /> |
|
|
|
|
</Grid.RowDefinitions> |
|
|
|
|
<Label Margin="3">Font:</Label> |
|
|
|
|
<ComboBox x:Name="fontSelector" SelectedItem="{Binding SelectedFont}" Grid.Column="1"> |
|
|
|
|
<Label Margin="3,0">Font:</Label> |
|
|
|
|
<ComboBox x:Name="fontSelector" VerticalContentAlignment="Center" SelectedItem="{Binding SelectedFont}" Grid.Column="1"> |
|
|
|
|
<ComboBox.ItemTemplate> |
|
|
|
|
<DataTemplate> |
|
|
|
|
<TextBlock VerticalAlignment="Center" Text="{Binding Source}" /> |
|
|
|
|
<TextBlock Text="{Binding Source}" /> |
|
|
|
|
</DataTemplate> |
|
|
|
|
</ComboBox.ItemTemplate> |
|
|
|
|
</ComboBox> |
|
|
|
|
<Label Grid.Column="2" Margin="3">Size:</Label> |
|
|
|
|
<ComboBox Grid.Column="3" Text="{Binding SelectedFontSize, Converter={StaticResource fontSizeConv}}" IsEditable="True" Margin="3"> |
|
|
|
|
<Label Grid.Column="2" Margin="3,0">Size:</Label> |
|
|
|
|
<ComboBox Grid.Column="3" Text="{Binding SelectedFontSize, Converter={StaticResource fontSizeConv}}" IsEditable="True" Margin="3,0"> |
|
|
|
|
<ComboBoxItem>6</ComboBoxItem> |
|
|
|
|
<ComboBoxItem>7</ComboBoxItem> |
|
|
|
|
<ComboBoxItem>8</ComboBoxItem> |
|
|
|
@ -48,7 +48,7 @@
@@ -48,7 +48,7 @@
|
|
|
|
|
<ComboBoxItem>23</ComboBoxItem> |
|
|
|
|
<ComboBoxItem>24</ComboBoxItem> |
|
|
|
|
</ComboBox> |
|
|
|
|
<Border Grid.Row="1" Grid.ColumnSpan="4" BorderBrush="Black" BorderThickness="1" Background="White" Margin="3"> |
|
|
|
|
<Border Grid.Row="1" Grid.ColumnSpan="4" BorderBrush="Black" BorderThickness="1" Background="White" Margin="3,5"> |
|
|
|
|
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="AaBbCcXxYyZz" FontFamily="{Binding SelectedFont}" FontSize="{Binding SelectedFontSize}" /> |
|
|
|
|
</Border> |
|
|
|
|
</Grid> |
|
|
|
|