mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2025-01-11 23:57:21 -08:00
ux: show date time format string
This commit is contained in:
parent
7d0fa3b86d
commit
8d12227227
1 changed files with 4 additions and 1 deletions
|
@ -71,7 +71,10 @@
|
|||
SelectedIndex="{Binding DateTimeFormat, Mode=TwoWay}">
|
||||
<ComboBox.ItemTemplate>
|
||||
<DataTemplate x:DataType="{x:Type m:DateTimeFormat}">
|
||||
<TextBlock FontFamily="{DynamicResource Fonts.Monospace}" Text="{Binding DisplayText}"/>
|
||||
<Grid ColumnDefinitions="*,8,*">
|
||||
<TextBlock Grid.Column="0" FontFamily="{DynamicResource Fonts.Monospace}" Text="{Binding DisplayText}"/>
|
||||
<TextBlock Grid.Column="2" FontFamily="{DynamicResource Fonts.Monospace}" Text="{Binding DateTime}" Foreground="{DynamicResource Brush.FG2}"/>
|
||||
</Grid>
|
||||
</DataTemplate>
|
||||
</ComboBox.ItemTemplate>
|
||||
</ComboBox>
|
||||
|
|
Loading…
Reference in a new issue