Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
jamsoft committed Mar 1, 2023
2 parents 40dbd59 + 98f564e commit 291217c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 18 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ https://jamsoft.github.io/JamSoft.AvaloniaUI.Dialogs/

## Installation
```shell
dotnet add package JamSoft.AvaloniaUI.Dialogs --version 1.1.0
dotnet add package JamSoft.AvaloniaUI.Dialogs --version 1.1.1
```
```shell
Install-Package JamSoft.AvaloniaUI.Dialogs -Version 1.1.0
Install-Package JamSoft.AvaloniaUI.Dialogs -Version 1.1.1
```
```xml
<PackageReference Include="JamSoft.AvaloniaUI.Dialogs" Version="1.1.0" />
<PackageReference Include="JamSoft.AvaloniaUI.Dialogs" Version="1.1.1" />
```
```shell
paket add JamSoft.AvaloniaUI.Dialogs --version 1.1.0
paket add JamSoft.AvaloniaUI.Dialogs --version 1.1.1
```
## Import Styles
### All Defaults
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="JamSoft.AvaloniaUI.Dialogs.Sample.Views.MyWizardView">

<controls:Wizard ButtonPlacement="Bottom" ProgressPlacement="Bottom">
<controls:Wizard ButtonPlacement="Bottom"
ProgressPlacement="Top">

<controls:WizardStep Header="Page 1" StepComplete="{Binding WizardStepOneComplete}">
<controls:WizardStep.Content>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>JamSoft.AssemblyKeyFile.snk</AssemblyOriginatorKeyFile>
<PublicSign>true</PublicSign>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<FileVersion>1.1.0.0</FileVersion>
<AssemblyVersion>1.1.1.0</AssemblyVersion>
<FileVersion>1.1.1.0</FileVersion>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<InformationalVersion>1.1.0.0-rel</InformationalVersion>
<InformationalVersion>1.1.1.0-rel</InformationalVersion>
<EnablePackageValidation>true</EnablePackageValidation>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Version>1.1.0</Version>
<Version>1.1.1</Version>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
Expand Down
18 changes: 9 additions & 9 deletions src/JamSoft.AvaloniaUI.Dialogs/Themes/WizardStyle.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</Design.PreviewWith>

<Styles.Resources>
<Thickness x:Key="TabControlTopPlacementItemMargin">0 0 0 2</Thickness>
<Thickness x:Key="WizardControlTopPlacementItemMargin">0 0 0 2</Thickness>
</Styles.Resources>

<Style Selector="controls|Wizard">
Expand Down Expand Up @@ -59,24 +59,24 @@
</Setter>
</Style>

<Style Selector="controls|Wizard[ButtonPlacement=Left] /template/ ItemsPresenter#PART_ItemsPresenter > WrapPanel">
<Style Selector="controls|Wizard[ButtonPlacement=Left] /template/ ItemsPresenter#PART_ButtonsPresenter > WrapPanel">
<Setter Property="Orientation" Value="Vertical" />
</Style>
<Style Selector="controls|Wizard[ButtonPlacement=Right] /template/ ItemsPresenter#PART_ItemsPresenter > WrapPanel">
<Style Selector="controls|Wizard[ButtonPlacement=Right] /template/ ItemsPresenter#PART_ButtonsPresenter > WrapPanel">
<Setter Property="Orientation" Value="Vertical" />
</Style>
<Style Selector="controls|Wizard[ButtonPlacement=Top] /template/ ItemsPresenter#PART_ItemsPresenter">
<Setter Property="Margin" Value="{DynamicResource TabControlTopPlacementItemMargin}" />
<Style Selector="controls|Wizard[ButtonPlacement=Top] /template/ ItemsPresenter#PART_ButtonsPresenter">
<Setter Property="Margin" Value="{DynamicResource WizardControlTopPlacementItemMargin}" />
</Style>

<Style Selector="controls|Wizard[ProgressPlacement=Left] /template/ ItemsPresenter#PART_ItemsPresenter > WrapPanel">
<Style Selector="controls|Wizard[ProgressPlacement=Left] /template/ ItemsPresenter#PART_StepsPresenter > WrapPanel">
<Setter Property="Orientation" Value="Vertical" />
</Style>
<Style Selector="controls|Wizard[ProgressPlacement=Right] /template/ ItemsPresenter#PART_ItemsPresenter > WrapPanel">
<Style Selector="controls|Wizard[ProgressPlacement=Right] /template/ ItemsPresenter#PART_StepsPresenter > WrapPanel">
<Setter Property="Orientation" Value="Vertical" />
</Style>
<Style Selector="controls|Wizard[ProgressPlacement=Top] /template/ ItemsPresenter#PART_ItemsPresenter">
<Setter Property="Margin" Value="{DynamicResource TabControlTopPlacementItemMargin}" />
<Style Selector="controls|Wizard[ProgressPlacement=Top] /template/ ItemsPresenter#PART_StepsPresenter">
<Setter Property="Margin" Value="{DynamicResource WizardControlTopPlacementItemMargin}" />
</Style>

</Styles>

0 comments on commit 291217c

Please sign in to comment.