Skip to content

Commit eef42c4

Browse files
committed
A few cosmetic fixes.
1 parent 97d2ed4 commit eef42c4

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

Catalog.Wpf/App.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
TargetType="{x:Type Window}">
3636
<Setter Property="Background"
3737
Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
38+
<Setter Property="UseLayoutRounding" Value="True" />
3839
</Style>
3940

4041
<BitmapImage x:Key="IconApplicationDetail"

Catalog.Wpf/EditGameDialog.xaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,17 @@
221221
HorizontalAlignment="Right"
222222
Margin="0,5,0,0">
223223
<StackPanel.Resources>
224+
<Style TargetType="xctk:IconButton">
225+
<Setter Property="Height"
226+
Value="24" />
227+
<Setter Property="Width"
228+
Value="24" />
229+
</Style>
224230
<Style TargetType="Image">
225231
<Setter Property="Width"
226232
Value="16" />
233+
<Setter Property="Height"
234+
Value="16" />
227235
</Style>
228236
</StackPanel.Resources>
229237
<xctk:IconButton Name="DuplicateButton"
@@ -237,8 +245,8 @@
237245
</xctk:IconButton.Icon>
238246
</xctk:IconButton>
239247
<xctk:SplitButton Name="AddItemButton"
248+
Height="22"
240249
ToolTip="Add item"
241-
Height="20"
242250
Command="{Binding AddItemCommand}"
243251
Margin="0,0,5,0">
244252
<xctk:SplitButton.Content>

Catalog.Wpf/Forms/Controls/AddRemoveButtons.xaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
HorizontalAlignment="Right"
1414
Margin="0,5,0,0">
1515
<StackPanel.Resources>
16-
<Style TargetType="xctk:IconButton">
16+
<Style TargetType="Image">
1717
<Setter Property="Width"
18-
Value="20" />
18+
Value="16" />
1919
<Setter Property="Height"
20-
Value="20" />
20+
Value="16" />
2121
</Style>
2222
</StackPanel.Resources>
2323
<xctk:IconButton Name="AddButton"

0 commit comments

Comments
 (0)