Refactor design for the second task
This commit is contained in:
parent
f130b631fc
commit
94cb10b3df
|
@ -17,6 +17,11 @@
|
|||
Value="15,0,15,0" />
|
||||
</Style>
|
||||
<Style TargetType="TextBox" BasedOn="{StaticResource CommonStyle}" />
|
||||
<Style TargetType="TextBlock" BasedOn="{StaticResource CommonStyle}" />
|
||||
<Style TargetType="ProgressBar" BasedOn="{StaticResource CommonStyle}">
|
||||
<Setter Property="Height"
|
||||
Value="20" />
|
||||
</Style>
|
||||
</Window.Resources>
|
||||
<Border>
|
||||
<Grid>
|
||||
|
@ -46,6 +51,29 @@
|
|||
<TextBlock x:Name="bytesBox" />
|
||||
<TextBlock x:Name="timeBox" />
|
||||
</StackPanel>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<ProgressBar x:Name="timeBar"
|
||||
Minimum="0"
|
||||
Maximum="1000"
|
||||
Grid.ColumnSpan="3" />
|
||||
<TextBlock Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
TextAlignment="Center"
|
||||
Text="500 ms" />
|
||||
<TextBlock Grid.Row="1"
|
||||
Grid.Column="2"
|
||||
TextAlignment="Right"
|
||||
Text="1000 ms" />
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
|
Loading…
Reference in a new issue