|
156 | 156 | <ColumnDefinition Width="Auto" /> |
157 | 157 | </Grid.ColumnDefinitions> |
158 | 158 |
|
159 | | - <Grid Grid.Column="0" VerticalAlignment="Center" > |
| 159 | + <Grid Grid.Column="0" VerticalAlignment="Center"> |
160 | 160 | <Grid.ColumnDefinitions> |
161 | 161 | <ColumnDefinition Width="*" /> |
162 | 162 | <ColumnDefinition Width="Auto" /> |
163 | | - <ColumnDefinition Width="Auto" /> |
164 | 163 | </Grid.ColumnDefinitions> |
165 | 164 | <Grid.RowDefinitions> |
166 | 165 | <RowDefinition Height="Auto" /> |
167 | 166 | <RowDefinition Height="Auto" /> |
168 | 167 | </Grid.RowDefinitions> |
169 | 168 |
|
170 | | - <ProgressBar Grid.Row="0" Grid.ColumnSpan="3" Minimum="0" Maximum="100" IsIndeterminate="{x:Bind LocalRecord.FileDownloader.IsIndeterminate, Mode=OneWay}" Value="{x:Bind LocalRecord.FileDownloader.Percent, Mode=OneWay}" VerticalAlignment="Top" /> |
| 169 | + <ProgressBar Grid.Row="0" Grid.ColumnSpan="2" Minimum="0" Maximum="100" IsIndeterminate="{x:Bind LocalRecord.FileDownloader.IsIndeterminate, Mode=OneWay}" Value="{x:Bind LocalRecord.FileDownloader.Percent, Mode=OneWay}" VerticalAlignment="Top" /> |
171 | 170 |
|
172 | 171 | <TextBlock Grid.Row="1" Grid.Column="0" Visibility="{x:Bind LocalRecord.FileDownloader.TotalBytesToDownload, Mode=OneWay, Converter={StaticResource TotalBytesVisbilityConverter}}" Text="{x:Bind system:String.Format('{0:0.0}%', LocalRecord.FileDownloader.Percent), Mode=OneWay}" /> |
173 | 172 |
|
174 | | - <TextBlock Grid.Row="1" Grid.Column="1" HorizontalAlignment="Right"> |
175 | | - <Run Text="{x:Bind LocalRecord.FileDownloader.DownloadedBytes, Mode=OneWay, Converter={StaticResource BytesToMegaBytesConverter}}" /> |
176 | | - </TextBlock> |
177 | | - |
178 | | - <TextBlock Grid.Row="1" Grid.Column="2" HorizontalAlignment="Right" Visibility="{x:Bind LocalRecord.FileDownloader.TotalBytesToDownload, Mode=OneWay, Converter={StaticResource TotalBytesVisbilityConverter}}"> |
179 | | - <Run Text=" / " /> |
180 | | - <Run Text="{x:Bind LocalRecord.FileDownloader.TotalBytesToDownload, Mode=OneWay, Converter={StaticResource BytesToMegaBytesConverter}}" /> |
181 | | - </TextBlock> |
| 173 | + <StackPanel Grid.Row="1" Grid.Column="1" Spacing="2" Orientation="Horizontal" Visibility="{x:Bind LocalRecord.FileDownloader.TotalBytesToDownload, Mode=OneWay, Converter={StaticResource TotalBytesVisbilityConverter}}"> |
| 174 | + <TextBlock Text="{x:Bind LocalRecord.FileDownloader.DownloadedBytes, Mode=OneWay, Converter={StaticResource BytesToMegaBytesConverter}}" /> |
| 175 | + <TextBlock Text="/" /> |
| 176 | + <TextBlock Text="{x:Bind LocalRecord.FileDownloader.TotalBytesToDownload, Mode=OneWay, Converter={StaticResource BytesToMegaBytesConverter}}" /> |
| 177 | + </StackPanel> |
182 | 178 |
|
183 | 179 | </Grid> |
184 | 180 |
|
|
0 commit comments