Skip to content

Commit 9e55352

Browse files
committed
Update MainPage.xaml
1 parent c6eb272 commit 9e55352

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

src/c#/GeneralUpdate.PacketTool/MainPage.xaml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,74 +6,74 @@
66
<Grid>
77
<Grid.RowDefinitions>
88
<RowDefinition />
9-
<RowDefinition Height="35" />
10-
<RowDefinition Height="35" />
11-
<RowDefinition Height="35" />
12-
<RowDefinition Height="35" />
13-
<RowDefinition Height="35" />
14-
<RowDefinition Height="35" />
15-
<RowDefinition Height="35" />
16-
<RowDefinition Height="35" />
17-
<RowDefinition Height="35" />
18-
<RowDefinition Height="35" />
9+
<RowDefinition Height="Auto" />
10+
<RowDefinition Height="Auto" />
11+
<RowDefinition Height="Auto" />
12+
<RowDefinition Height="Auto" />
13+
<RowDefinition Height="Auto" />
14+
<RowDefinition Height="Auto" />
15+
<RowDefinition Height="Auto" />
16+
<RowDefinition Height="Auto" />
17+
<RowDefinition Height="Auto" />
18+
<RowDefinition Height="Auto" />
1919
<RowDefinition Height="Auto" />
2020
<RowDefinition />
2121
</Grid.RowDefinitions>
2222
<StackLayout HorizontalOptions="Center" Orientation="Horizontal">
2323
<Image WidthRequest="100" HeightRequest="100" Source="generalupdate_img.png" />
2424
</StackLayout>
25-
<StackLayout Grid.Row="1" Orientation="Horizontal" HeightRequest="35" HorizontalOptions="Center">
25+
<StackLayout Grid.Row="1" Orientation="Horizontal" HeightRequest="40" HorizontalOptions="Center">
2626
<Label VerticalOptions="Center" Text="Source path :" />
2727
<Entry WidthRequest="400" HeightRequest="30" Margin="3,0,3,0" Text="{Binding SourcePath}" />
2828
<Button WidthRequest="110" HeightRequest="25" Text="Pick folder" Command="{Binding SelectFolderCommand}" CommandParameter="Source" />
2929
<Label Text="*" TextColor="Red" VerticalTextAlignment="Center" />
3030
</StackLayout>
31-
<StackLayout Grid.Row="2" Orientation="Horizontal" HeightRequest="35" HorizontalOptions="Center">
31+
<StackLayout Grid.Row="2" Orientation="Horizontal" HeightRequest="40" HorizontalOptions="Center">
3232
<Label VerticalOptions="Center" Text="Target path :" />
3333
<Entry WidthRequest="400" HeightRequest="30" Margin="5,0,3,0" Text="{Binding TargetPath}" />
3434
<Button WidthRequest="110" HeightRequest="35" Text="Pick folder" Command="{Binding SelectFolderCommand}" CommandParameter="Target" />
3535
<Label Text="*" TextColor="Red" VerticalTextAlignment="Center" />
3636
</StackLayout>
37-
<StackLayout Grid.Row="3" Orientation="Horizontal" HeightRequest="35" HorizontalOptions="Center">
37+
<StackLayout Grid.Row="3" Orientation="Horizontal" HeightRequest="40" HorizontalOptions="Center">
3838
<Label VerticalOptions="Center" Text="Patch path :" />
3939
<Entry WidthRequest="400" HeightRequest="30" Margin="9,0,3,0" Text="{Binding PatchPath}" />
4040
<Button WidthRequest="110" HeightRequest="35" Text="Pick folder" Command="{Binding SelectFolderCommand}" CommandParameter="Patch" />
4141
<Label Text="*" TextColor="Red" VerticalTextAlignment="Center" />
4242
</StackLayout>
43-
<StackLayout Margin="0,0,120,0" Grid.Row="4" Orientation="Horizontal" HeightRequest="35" HorizontalOptions="Center">
43+
<StackLayout Margin="0,0,120,0" Grid.Row="4" Orientation="Horizontal" HeightRequest="40" HorizontalOptions="Center">
4444
<Label VerticalOptions="Center" Text="packet name :" />
4545
<Entry WidthRequest="400" HeightRequest="30" Margin="9,0,3,0" Text="{Binding PacketName , Mode=TwoWay}" />
4646
<Label Text="*" TextColor="Red" VerticalTextAlignment="Center" />
4747
</StackLayout>
48-
<StackLayout Margin="0,0,85,0" Grid.Row="5" Orientation="Horizontal" HeightRequest="35" HorizontalOptions="Center">
48+
<StackLayout Margin="0,0,85,0" Grid.Row="5" Orientation="Horizontal" HeightRequest="40" HorizontalOptions="Center">
4949
<Label VerticalOptions="Center" Text="format :" />
5050
<Picker WidthRequest="400" HeightRequest="30" Margin="9,0,3,0" ItemsSource="{Binding Formats}" SelectedItem="{Binding CurrentFormat}" />
5151
<Label Text="*" TextColor="Red" VerticalTextAlignment="Center" />
5252
</StackLayout>
53-
<StackLayout Margin="0,0,100,0" Grid.Row="6" Orientation="Horizontal" HeightRequest="35" HorizontalOptions="Center">
53+
<StackLayout Margin="0,0,100,0" Grid.Row="6" Orientation="Horizontal" HeightRequest="40" HorizontalOptions="Center">
5454
<Label VerticalOptions="Center" Text="encoding :" />
5555
<Picker WidthRequest="400" HeightRequest="30" Margin="9,0,3,0" SelectedIndex="0" ItemsSource="{Binding Encodings}" SelectedItem="{Binding CurrentEncoding}" />
5656
<Label Text="*" TextColor="Red" VerticalTextAlignment="Center" />
5757
</StackLayout>
58-
<StackLayout Margin="0,0,135,0" Grid.Row="7" Orientation="Horizontal" HeightRequest="35" HorizontalOptions="Center">
58+
<StackLayout Margin="0,0,135,0" Grid.Row="7" Orientation="Horizontal" HeightRequest="40" HorizontalOptions="Center">
5959
<Label VerticalOptions="Center" Text="client app key :" />
6060
<Entry WidthRequest="400" HeightRequest="30" Margin="9,0,3,0" Text="{Binding CurrentClientAppKey}" />
6161
</StackLayout>
62-
<StackLayout Margin="0,0,115,0" Grid.Row="8" Orientation="Horizontal" HeightRequest="35" HorizontalOptions="Center">
62+
<StackLayout Margin="0,0,115,0" Grid.Row="8" Orientation="Horizontal" HeightRequest="40" HorizontalOptions="Center">
6363
<Label VerticalOptions="Center" Text="client type :" />
6464
<Picker WidthRequest="400" HeightRequest="32" Margin="9,0,3,0" ItemsSource="{Binding AppTypes}" SelectedItem="{Binding CurrnetAppType}" />
6565
</StackLayout>
66-
<StackLayout Margin="0,0,110,0" Grid.Row="9" Orientation="Horizontal" HeightRequest="35" HorizontalOptions="Center">
66+
<StackLayout Margin="0,0,110,0" Grid.Row="9" Orientation="Horizontal" HorizontalOptions="Center">
6767
<Label VerticalOptions="Center" Text="server url :" />
6868
<Entry WidthRequest="400" HeightRequest="30" Margin="9,0,3,0" Text="{Binding Url}" />
6969
</StackLayout>
70-
<StackLayout Margin="0,0,145,0" Grid.Row="10" Orientation="Horizontal" HeightRequest="35" HorizontalOptions="Center">
70+
<StackLayout Margin="0,0,145,0" Grid.Row="10" Orientation="Horizontal" HorizontalOptions="Center">
7171
<Label VerticalOptions="Center" Text="currnet version :" />
7272
<Entry WidthRequest="400" HeightRequest="30" Margin="9,0,3,0" Text="{Binding CurrentVersion}" />
7373
</StackLayout>
74-
<StackLayout HorizontalOptions="Center" Grid.Row="11" HeightRequest="35" Orientation="Horizontal">
75-
<Button HorizontalOptions="Center" Text="Build json" WidthRequest="110" HeightRequest="35" Command="{Binding BuildJsonCommand}" />
76-
<Button HorizontalOptions="Center" Text="Build" WidthRequest="110" HeightRequest="35" Command="{Binding BuildCommand}" />
74+
<StackLayout HorizontalOptions="Center" Grid.Row="11" Orientation="Horizontal">
75+
<Button HorizontalOptions="Center" Text="Build json" WidthRequest="110" HeightRequest="40" Command="{Binding BuildJsonCommand}" />
76+
<Button HorizontalOptions="Center" Text="Build" WidthRequest="110" HeightRequest="40" Command="{Binding BuildCommand}" />
7777
<CheckBox Margin="10,0,0,0" IsChecked="{Binding IsPublish}" />
7878
<Label VerticalOptions="Center" Text="publish" />
7979
</StackLayout>

0 commit comments

Comments
 (0)