|
6 | 6 | x:CompileBindings="True" |
7 | 7 | x:DataType="vm:MainWindowViewModel" |
8 | 8 | x:Class="SharpPusher.Views.MainWindow" |
9 | | - mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="650" |
10 | | - Height="650" Width="800" |
| 9 | + mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="620" |
| 10 | + Height="620" Width="800" |
11 | 11 | Icon="/Assets/PusherIcon.ico" |
12 | 12 | FontSize="14" |
13 | 13 | Title="SharpPusher"> |
|
17 | 17 | </Design.DataContext> |
18 | 18 |
|
19 | 19 | <Grid ColumnDefinitions="2*,1*" RowDefinitions="1*,auto"> |
20 | | - <TextBox Text="{Binding RawTx}" |
21 | | - TextWrapping="Wrap" |
22 | | - AcceptsReturn="True" |
23 | | - Watermark="Enter raw transaction hex here" |
24 | | - UseFloatingWatermark="False" |
25 | | - Margin="5" |
26 | | - Grid.Column="0"/> |
| 20 | + <Grid RowDefinitions="*,*" Grid.Column="0" Grid.Row="0"> |
| 21 | + <TextBox Text="{Binding RawTx}" |
| 22 | + TextWrapping="Wrap" |
| 23 | + AcceptsReturn="False" |
| 24 | + Watermark="Enter raw transaction hex here" |
| 25 | + UseFloatingWatermark="False" |
| 26 | + Margin="5" |
| 27 | + Grid.Row="0"/> |
| 28 | + |
| 29 | + <TextBox Text="{Binding Message}" |
| 30 | + IsReadOnly="True" |
| 31 | + Background="Gainsboro" |
| 32 | + Grid.Row="1"/> |
| 33 | + </Grid> |
| 34 | + |
| 35 | + |
| 36 | + <StackPanel Orientation="Vertical" Spacing="3" Margin="5" |
| 37 | + Grid.Column="1" Grid.Row="0"> |
27 | 38 |
|
28 | | - <StackPanel Orientation="Vertical" Spacing="3" Margin="5" Grid.Column="1" Grid.Row="0"> |
29 | 39 | <ListBox ItemsSource="{Binding NetworkList}" |
30 | 40 | SelectedItem="{Binding SelectedNetwork}" |
31 | 41 | Classes="RadioButtonListBox"/> |
|
39 | 49 | </ListBox.ItemTemplate> |
40 | 50 | </ListBox> |
41 | 51 |
|
42 | | - <CheckBox Content="Deserialize and check transaction" |
| 52 | + <CheckBox Content="Deserialize and check transaction" |
43 | 53 | IsVisible="{Binding IsCheckTxVisible}" |
44 | 54 | IsChecked="{Binding CheckTx}" |
45 | 55 | ToolTip.Tip="{Binding CheckTxToolTip}"/> |
|
49 | 59 | HorizontalAlignment="Stretch" |
50 | 60 | HorizontalContentAlignment="Center"/> |
51 | 61 |
|
52 | | - <TextBlock Text="{Binding Errors}" |
53 | | - TextWrapping="Wrap"/> |
54 | | - |
55 | 62 | <TextBlock Text="{Binding VersionString}" |
56 | 63 | TextAlignment="Center" |
57 | 64 | Background="#FFADD8EC" |
|
62 | 69 | </StackPanel> |
63 | 70 |
|
64 | 71 |
|
65 | | - <TextBlock Text="{Binding Status}" |
66 | | - Height="30" |
| 72 | + <TextBlock Text="{Binding CurrentState}" |
| 73 | + Height="25" |
67 | 74 | Background="LightGray" |
68 | 75 | Grid.ColumnSpan="2" |
69 | 76 | Grid.Row="1"/> |
|
0 commit comments