|
49 | 49 | <Grid.RowDefinitions> |
50 | 50 | <RowDefinition Height="40" /> |
51 | 51 | <RowDefinition Height="40" /> |
| 52 | + <RowDefinition Height="40" /> |
52 | 53 | </Grid.RowDefinitions> |
53 | 54 | <Grid.ColumnDefinitions> |
54 | 55 | <ColumnDefinition Width="13*" /> |
|
76 | 77 | Margin="5,0,5,0" |
77 | 78 | Grid.Column="1" |
78 | 79 | Grid.Row="1" /> |
| 80 | + <TextBlock Text="Font: " |
| 81 | + Grid.Row="2" |
| 82 | + VerticalAlignment="Center" /> |
| 83 | + <ComboBox Width="140" |
| 84 | + mahapps:TextBoxHelper.Watermark="Fonts" |
| 85 | + Grid.Row="2" |
| 86 | + Grid.Column="1" |
| 87 | + VerticalAlignment="Center" |
| 88 | + Margin="5,0,5,0" |
| 89 | + Height="23" |
| 90 | + ItemsSource="{Binding Fonts, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
| 91 | + SelectedItem="{Binding Settings.CurrentFont, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" /> |
79 | 92 | </Grid> |
80 | 93 | <CheckBox Content="On Top" |
81 | 94 | IsChecked="{Binding Settings.OnTop}" /> |
|
127 | 140 | </StatusBarItem> |
128 | 141 | <Separator Margin="10,0,10,0" |
129 | 142 | HorizontalAlignment="Left" /> |
130 | | - <StatusBarItem VerticalAlignment="Center"> |
131 | | - <StackPanel Orientation="Horizontal"> |
132 | | - <TextBlock Text="Current Font: " |
133 | | - VerticalAlignment="Center" /> |
134 | | - <ComboBox Width="140" VerticalAlignment="Center" Height="23" |
135 | | - ItemsSource="{Binding Fonts, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
136 | | - SelectedItem="{Binding Settings.CurrentFont, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" /> |
137 | | - </StackPanel> |
138 | | - </StatusBarItem> |
139 | | - |
140 | 143 | </StatusBar> |
141 | 144 | <avalonedit:TextEditor x:Name="tbxMultiLine" |
142 | 145 | DockPanel.Dock="Top" |
|
150 | 153 | Foreground="{Binding MultiLineTextForegroundColor, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
151 | 154 | ShowLineNumbers="True" |
152 | 155 | WordWrap="True" |
| 156 | + FontSize="15" |
153 | 157 | FontFamily="{Binding Settings.CurrentFont, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" |
154 | 158 | PreviewMouseWheel="tbxMultiLine_PreviewMouseWheel" /> |
155 | 159 | </DockPanel> |
|
0 commit comments