Переглянути джерело

avalonia: small layout tweaks

Kenric Nugteren 1 місяць тому
батько
коміт
a9917a3c43

+ 1 - 1
InABox.Avalonia/Components/AvaloniaDataGrid/AvaloniaDataGrid.axaml

@@ -25,7 +25,7 @@
 							  Command="{Binding $parent[components:AvaloniaDataGrid].SearchCommand}"
 							  Text="{Binding $parent[components:AvaloniaDataGrid].SearchText}"
 							  Background="Transparent"
-							  Margin="0,0,0,5"/>
+							  Margin="0,0,0,2"/>
 		<Border Grid.Row="1" Grid.ColumnSpan="2"
 				CornerRadius="{StaticResource PrsCornerRadius}"
 				BorderThickness="{StaticResource PrsBorderThickness}"

+ 1 - 1
InABox.Avalonia/Theme/Classes/ButtonStrip.axaml

@@ -22,7 +22,6 @@
 		<Setter Property="Foreground" Value="{DynamicResource PrsButtonForeground}"/>
 		<Setter Property="SelectedBackground" Value="{DynamicResource PrsTileBackground}"/>
 		<Setter Property="SelectedForeground" Value="{DynamicResource PrsTileForeground}"/>
-		<Setter Property="Padding" Value="2"/>
 	</Style>
 	<Style Selector="components|ButtonStrip components|ButtonStripItem">
 		<Setter Property="Template">
@@ -36,6 +35,7 @@
 							<Setter Property="Background" Value="{TemplateBinding Background}"/>
 							<Setter Property="Foreground" Value="{TemplateBinding Foreground}"/>
 							<Setter Property="FontSize" Value="{DynamicResource PrsFontSizeExtraSmall}"/>
+							<Setter Property="Margin" Value="0"/>
 						</Style>
 					</Button.Styles>
 				</Button>