ui: Add '|' separators in slide status bar
This commit is contained in:
1 parent
6b740ece39
commit
828b1ca0c2
1 file changed
+17
-4
@@ -1,4 +1,4 @@
|
||||
<UserControl
|
||||
<UserControl
|
||||
x:Class="mbts.analytics.SlideReportView"
|
||||
x:ClassModifier="internal"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
@@ -57,6 +57,17 @@
|
||||
/>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="VerticalSeparator" TargetType="Rectangle">
|
||||
<Setter Property="VerticalAlignment" Value="Stretch" />
|
||||
<Setter Property="Margin" Value="8,0" />
|
||||
<Setter Property="Width" Value="1" />
|
||||
<Setter Property="Fill" Value="Black" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="VerticalSeparatorWide" TargetType="Rectangle" BasedOn="{StaticResource VerticalSeparator}">
|
||||
<Setter Property="Margin" Value="12,0" />
|
||||
</Style>
|
||||
|
||||
<DataTemplate x:Key="ExpirationItemTemplate">
|
||||
<TextBlock Text="{Binding Converter={StaticResource ExpirationItemTextConverter}}" />
|
||||
</DataTemplate>
|
||||
@@ -195,19 +206,21 @@
|
||||
<StackPanel Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Left" Margin="4">
|
||||
<TextBlock
|
||||
u:TextBlockBehavior.FlashBoldOnTextChanged="True"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding last_update_time, StringFormat=h:mm:ss tt}"
|
||||
FontSize="10"
|
||||
ToolTip="Last Update Time"
|
||||
/>
|
||||
<Rectangle Style="{StaticResource VerticalSeparatorWide}" />
|
||||
<TextBlock
|
||||
u:TextBlockBehavior.FlashBoldOnTextChanged="True"
|
||||
Margin="16,0,4,0"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding last_trade, Converter={x:Static cv:TradeLogRowTextConverter.Instance}}"
|
||||
ToolTip="Last Trade"
|
||||
/>
|
||||
<Rectangle Style="{StaticResource VerticalSeparatorWide}" />
|
||||
<TextBlock
|
||||
u:TextBlockBehavior.FlashBoldOnTextChanged="True"
|
||||
Margin="16,0,4,0"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding last_vol_save_time}"
|
||||
ToolTip="Last Vol Save Time"
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user