mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-04-06 09:16:35 +08:00
feat: extract non-theme resources to shared directory.
This commit is contained in:
17
src/Semi.Avalonia/Themes/Shared/ComboBox.axaml
Normal file
17
src/Semi.Avalonia/Themes/Shared/ComboBox.axaml
Normal file
@@ -0,0 +1,17 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<CornerRadius x:Key="ComboBoxSelectorCornerRadius">3</CornerRadius>
|
||||
|
||||
<Thickness x:Key="ComboBoxItemDefaultPadding">8 4</Thickness>
|
||||
<Thickness x:Key="ComboBoxSelectorDefaultPadding">8 0</Thickness>
|
||||
|
||||
<BoxShadows x:Key="ComboBoxPopupBoxShadow">0 0 8 0 #1AFFFFFF</BoxShadows>
|
||||
<Thickness x:Key="ComboBoxPopupBorderThickness">1</Thickness>
|
||||
|
||||
<PathGeometry x:Key="ComboBoxIcon">
|
||||
M4.08045 7.59809C4.66624 7.01231 5.61599 7.01231 6.20177 7.59809L11.8586 13.2549L17.5155 7.59809C18.1013 7.01231 19.051 7.01231 19.6368 7.59809C20.2226 8.18388 20.2226 9.13363 19.6368 9.71941L12.9193 16.4369C12.3335 17.0227 11.3838 17.0227 10.798 16.4369L4.08045 9.71941C3.49467 9.13363 3.49467 8.18388 4.08045 7.59809Z
|
||||
</PathGeometry>
|
||||
|
||||
<x:Double x:Key="ComboBoxDefaultHeight">32</x:Double>
|
||||
<x:Double x:Key="ComboBoxSmallHeight">24</x:Double>
|
||||
<x:Double x:Key="ComboBoxLargeHeight">40</x:Double>
|
||||
</ResourceDictionary>
|
||||
Reference in New Issue
Block a user