mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-03-03 00:00:55 +08:00
fix: remove vertical Padding to fix the actual height of Button & Label.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<StaticResource x:Key="ButtonDefaultFontSize" ResourceKey="SemiFontSizeRegular" />
|
||||
<StaticResource x:Key="ButtonDefaultFontWeight" ResourceKey="SemiFontWeightBold" />
|
||||
<Thickness x:Key="ButtonDefaultPadding">12 6</Thickness>
|
||||
<Thickness x:Key="ButtonLargePadding">16 10</Thickness>
|
||||
<Thickness x:Key="ButtonSmallPadding">6 2</Thickness>
|
||||
<Thickness x:Key="ButtonDefaultPadding">12 0</Thickness>
|
||||
<Thickness x:Key="ButtonLargePadding">16 0</Thickness>
|
||||
<Thickness x:Key="ButtonSmallPadding">6 0</Thickness>
|
||||
<StaticResource x:Key="ButtonDefaultHeight" ResourceKey="SemiHeightControlDefault" />
|
||||
<StaticResource x:Key="ButtonSmallHeight" ResourceKey="SemiHeightControlSmall" />
|
||||
<StaticResource x:Key="ButtonLargeHeight" ResourceKey="SemiHeightControlLarge" />
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<StaticResource x:Key="LabelTagBorderThickness" ResourceKey="SemiBorderThicknessControl" />
|
||||
<Thickness x:Key="LabelTagSmallPadding">8 2</Thickness>
|
||||
<Thickness x:Key="LabelTagLargePadding">8 4</Thickness>
|
||||
<Thickness x:Key="LabelTagSmallPadding">8 0</Thickness>
|
||||
<Thickness x:Key="LabelTagLargePadding">8 0</Thickness>
|
||||
<x:Double x:Key="LabelTagSmallHeight">20</x:Double>
|
||||
<x:Double x:Key="LabelTagLargeHeight">24</x:Double>
|
||||
<StaticResource x:Key="LabelTagFontSize" ResourceKey="SemiFontSizeSmall" />
|
||||
|
||||
Reference in New Issue
Block a user