feat: 1. Update dependency.
2. Provide sample for Dialog StyleClass option.
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<Styles xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:u="https://irihi.tech/ursa"
|
||||
xmlns:theme="https://irihi.tech/ursa/themes/semi">
|
||||
xmlns:theme="https://irihi.tech/ursa/themes/semi"
|
||||
xmlns:helpers="clr-namespace:Irihi.Avalonia.Shared.Helpers;assembly=Irihi.Avalonia.Shared">
|
||||
<Design.PreviewWith>
|
||||
<Border Padding="20">
|
||||
<!-- Add Controls for Previewer Here -->
|
||||
@@ -16,7 +17,7 @@
|
||||
</Style>
|
||||
<Style Selector="u|PinCode.Small">
|
||||
<Style Selector="^ u|PinCodeItem">
|
||||
<Setter Property="theme:ClassHelper.Classes" Value="Small"></Setter>
|
||||
<Setter Property="helpers:ClassHelper.Classes" Value="Small"></Setter>
|
||||
<Style Selector="^:nth-last-child(n+2)">
|
||||
<Setter Property="Margin" Value="0 0 6 0"></Setter>
|
||||
</Style>
|
||||
@@ -24,7 +25,7 @@
|
||||
</Style>
|
||||
<Style Selector="u|PinCode.Large">
|
||||
<Style Selector="^ u|PinCodeItem">
|
||||
<Setter Property="theme:ClassHelper.Classes" Value="Large"></Setter>
|
||||
<Setter Property="helpers:ClassHelper.Classes" Value="Large"></Setter>
|
||||
<Style Selector="^:nth-last-child(n+2)">
|
||||
<Setter Property="Margin" Value="0 0 12 0"></Setter>
|
||||
</Style>
|
||||
|
||||
Reference in New Issue
Block a user