Skip to content

Commit 33c3155

Browse files
committed
修改控件宽度以显示完整字体
1 parent 52eebcb commit 33c3155

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

src/WPF/GeneralUpdate.Packet/MainWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
99
Title="GeneralUpdate.Packet"
1010
Width="900"
11-
Height="640"
11+
Height="660"
1212
mc:Ignorable="d">
1313
<Grid>
1414
<Grid.RowDefinitions>

src/WPF/GeneralUpdate.Packet/Views/PacketView.xaml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
66
xmlns:local="clr-namespace:GeneralUpdate.Packet.Views"
77
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
8-
d:DesignHeight="490"
8+
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
9+
d:DesignHeight="500"
910
d:DesignWidth="800"
1011
mc:Ignorable="d">
12+
1113
<Grid>
1214
<Grid.RowDefinitions>
1315
<RowDefinition />
@@ -39,13 +41,13 @@
3941
<TextBlock VerticalAlignment="Center" Text="Source path :" />
4042
<TextBox
4143
Width="400"
42-
Height="30"
44+
Height="35"
4345
Margin="3,0,3,0"
4446
VerticalContentAlignment="Center"
4547
Text="{Binding SourcePath}" />
4648
<Button
4749
Width="110"
48-
Height="30"
50+
Height="35"
4951
Command="{Binding SelectFolderCommand}"
5052
CommandParameter="Source"
5153
Content="Pick folder" />
@@ -62,13 +64,13 @@
6264
<TextBlock VerticalAlignment="Center" Text="Target path :" />
6365
<TextBox
6466
Width="400"
65-
Height="30"
67+
Height="35"
6668
Margin="5,0,3,0"
6769
VerticalContentAlignment="Center"
6870
Text="{Binding TargetPath}" />
6971
<Button
7072
Width="110"
71-
Height="30"
73+
Height="35"
7274
Command="{Binding SelectFolderCommand}"
7375
CommandParameter="Target"
7476
Content="Pick folder" />
@@ -85,13 +87,13 @@
8587
<TextBlock VerticalAlignment="Center" Text="Patch path :" />
8688
<TextBox
8789
Width="400"
88-
Height="30"
90+
Height="35"
8991
Margin="9,0,3,0"
9092
VerticalContentAlignment="Center"
9193
Text="{Binding PatchPath}" />
9294
<Button
9395
Width="110"
94-
Height="30"
96+
Height="35"
9597
Command="{Binding SelectFolderCommand}"
9698
CommandParameter="Patch"
9799
Content="Pick folder" />
@@ -109,7 +111,7 @@
109111
<TextBlock VerticalAlignment="Center" Text="Packet name :" />
110112
<TextBox
111113
Width="400"
112-
Height="30"
114+
Height="35"
113115
Margin="9,0,3,0"
114116
VerticalContentAlignment="Center"
115117
Text="{Binding PacketName, Mode=TwoWay}" />
@@ -166,7 +168,7 @@
166168
<TextBlock VerticalAlignment="Center" Text="Client app key :" />
167169
<TextBox
168170
Width="400"
169-
Height="30"
171+
Height="35"
170172
Margin="9,0,3,0"
171173
VerticalContentAlignment="Center"
172174
Text="{Binding CurrentClientAppKey}" />
@@ -180,7 +182,7 @@
180182
<TextBlock VerticalAlignment="Center" Text="Client type :" />
181183
<ComboBox
182184
Width="400"
183-
Height="32"
185+
Height="35"
184186
Margin="9,0,3,0"
185187
VerticalContentAlignment="Center"
186188
ItemsSource="{Binding AppTypes}"
@@ -194,7 +196,7 @@
194196
<TextBlock VerticalAlignment="Center" Text="Server url :" />
195197
<TextBox
196198
Width="400"
197-
Height="30"
199+
Height="35"
198200
Margin="9,0,3,0"
199201
VerticalContentAlignment="Center"
200202
Text="{Binding Url}" />
@@ -207,7 +209,7 @@
207209
<TextBlock VerticalAlignment="Center" Text="Currnet version :" />
208210
<TextBox
209211
Width="400"
210-
Height="30"
212+
Height="35"
211213
Margin="9,0,3,0"
212214
VerticalContentAlignment="Center"
213215
Text="{Binding CurrentVersion}" />
@@ -220,13 +222,13 @@
220222
<TextBlock VerticalAlignment="Center" Text="Driver dir :" />
221223
<TextBox
222224
Width="400"
223-
Height="30"
225+
Height="35"
224226
Margin="9,0,3,0"
225227
VerticalContentAlignment="Center"
226228
Text="{Binding PatchPath}" />
227229
<Button
228230
Width="110"
229-
Height="30"
231+
Height="35"
230232
Command="{Binding SelectFolderCommand}"
231233
CommandParameter="Driver"
232234
Content="Pick driver" />
@@ -237,7 +239,7 @@
237239
Orientation="Horizontal">
238240
<Button
239241
Width="110"
240-
Height="30"
242+
Height="35"
241243
Margin="5"
242244
HorizontalAlignment="Center"
243245
Command="{Binding BuildCommand}"

0 commit comments

Comments
 (0)