[skip ci] format coinjoin ui
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/CoinJoinTabView.xaml
WalletWasabi.Gui/Controls/WalletExplorer/CoinJoinTabView.xaml
<TextBox Text="{Binding Password}" PasswordChar="*" Watermark="Password" UseFloatingWatermark="True" MinWidth="173" />
<DockPanel LastChildFill="True" VerticalAlignment="Top">
<Button Content="Enqueue" Command="{Binding EnqueueCommand}" DockPanel.Dock="Right" />
- <Grid></Grid>
+ <Grid />
</DockPanel>
</StackPanel>
<local:CoinListView DataContext="{Binding AvailableCoinsList}" />
<ScrollViewer>
<StackPanel Orientation="Vertical">
<StackPanel Orientation="Horizontal" Spacing="4">
- <TextBlock Text="Minimum"></TextBlock>
- <TextBlock Foreground="YellowGreen" Text="{Binding RequiredBTC, Converter={StaticResource MoneyStringConverter}}"></TextBlock>
- <TextBlock Foreground="YellowGreen" Text="BTC"></TextBlock>
- <TextBlock Text="is required to be queued for CoinJoin."></TextBlock>
+ <TextBlock Text="Minimum" />
+ <TextBlock Foreground="YellowGreen" Text="{Binding RequiredBTC, Converter={StaticResource MoneyStringConverter}}" />
+ <TextBlock Foreground="YellowGreen" Text="BTC" />
+ <TextBlock Text="is required to be queued for CoinJoin." />
</StackPanel>
<StackPanel Orientation="Horizontal" Spacing="4" IsVisible="{Binding AmountQueued, Converter={StaticResource CoinJoinedVisibilityConverter}}">
- <TextBlock Text="You have queued"></TextBlock>
- <TextBlock Foreground="YellowGreen" Text="{Binding AmountQueued, Converter={StaticResource MoneyStringConverter}}"></TextBlock>
- <TextBlock Foreground="YellowGreen" Text="BTC"></TextBlock>
- <TextBlock Text="for CoinJoin."></TextBlock>
+ <TextBlock Text="You have queued" />
+ <TextBlock Foreground="YellowGreen" Text="{Binding AmountQueued, Converter={StaticResource MoneyStringConverter}}" />
+ <TextBlock Foreground="YellowGreen" Text="BTC" />
+ <TextBlock Text="for CoinJoin." />
</StackPanel>
<StackPanel Orientation="Horizontal" Spacing="4">
- <TextBlock Text="Coordinator Fee:"></TextBlock>
- <TextBlock Text="{Binding CoordinatorFeePercent}"></TextBlock>
- <TextBlock Text="% per anonymity set."></TextBlock>
- </StackPanel>
-
- <StackPanel Orientation="Horizontal" Spacing="4">
- <TextBlock Text="Number of Successful Rounds:"></TextBlock>
- <TextBlock Text="{Binding SuccessfulRoundCount}"></TextBlock>
+ <TextBlock Text="Coordinator Fee:" />
+ <TextBlock Text="{Binding CoordinatorFeePercent}" />
+ <TextBlock Text="% per anonymity set." />
</StackPanel>
<StackPanel Orientation="Horizontal" Spacing="4" Margin="0 12">
<Line StartPoint="120,10" EndPoint="150,10" StrokeThickness="4" Stroke="{Binding Phase, ConverterParameter=OutputRegistration, Converter={StaticResource PhaseColorConverter}}" />
</Canvas>
- <TextBlock Foreground="YellowGreen" Text="{Binding Phase, Converter={StaticResource PhaseStringConverter}}"></TextBlock>
+ <TextBlock Foreground="YellowGreen" Text="{Binding Phase, Converter={StaticResource PhaseStringConverter}}" />
</StackPanel>
- <StackPanel Orientation="Horizontal" Spacing="4">
- <TextBlock Text="Number of Registered Peers:"></TextBlock>
- <TextBlock Foreground="YellowGreen" Text="{Binding PeersRegistered}"></TextBlock>
- <TextBlock Text="/"></TextBlock>
- <TextBlock Text="{Binding PeersNeeded}"></TextBlock>
- <ProgressBar Minimum="0" Maximum="{Binding PeersNeeded}" Value="{Binding PeersRegistered}"></ProgressBar>
+ <Grid ColumnDefinitions="220, *" RowDefinitions="20, 20">
+
+ <StackPanel Grid.Row="0" Grid.Column="0" Orientation="Horizontal" Spacing="4">
+ <TextBlock Text="Number of Registered Peers:" />
+ </StackPanel>
+
+ <StackPanel Grid.Row="0" Grid.Column="1" Orientation="Horizontal" Spacing="4">
+ <TextBlock Foreground="YellowGreen" Text="{Binding PeersRegistered}" />
+ <TextBlock Text="/" />
+ <TextBlock Text="{Binding PeersNeeded}" />
+ <ProgressBar Minimum="0" Maximum="{Binding PeersNeeded}" Value="{Binding PeersRegistered}" />
+ </StackPanel>
+
+ <StackPanel Grid.Row="1" Grid.Column="0" Orientation="Horizontal" Spacing="4">
+ <TextBlock Text="Number of Successful Rounds:" />
</StackPanel>
+
+ <StackPanel Grid.Row="1" Grid.Column="1" Orientation="Horizontal" Spacing="4">
+ <TextBlock Foreground="YellowGreen" Text="{Binding SuccessfulRoundCount}" />
+ </StackPanel>
+ </Grid>
</StackPanel>
</ScrollViewer>
</Grid>
<TextBlock Text="{Binding WarningMessageDequeue}" Classes="warningMessage" />
<DockPanel LastChildFill="True">
<Button Content="Dequeue" Command="{Binding DequeueCommand}" DockPanel.Dock="Right" VerticalAlignment="Top" />
- <Grid></Grid>
+ <Grid />
</DockPanel>
</StackPanel>
<local:CoinListView DataContext="{Binding QueuedCoinsList}" />

[skip ci] format coinjoin ui