Skip to content

Commit 0d3f6c1

Browse files
Fix minor visual inconsistencies on macOS
1 parent cd44d8b commit 0d3f6c1

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

src/KeyboardSwitch.Settings/App.axaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
<Setter Property="Margin" Value="0 0 10 0" />
4444
</Style>
4545

46-
<Style Selector="NumericUpDown.FormControl /template/ TextBox#InputBox">
47-
<Setter Property="VerticalContentAlignment" Value="Center" />
46+
<Style Selector="ComboBox.FormControl /template/ ContentPresenter TextBlock">
47+
<Setter Property="VerticalAlignment" Value="Center" />
4848
</Style>
4949

5050
<Style Selector="Button">

src/KeyboardSwitch.Settings/KeyboardSwitch.Settings.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
</ItemGroup>
1616

1717
<ItemGroup>
18-
<PackageReference Include="Avalonia" Version="11.3.1" />
19-
<PackageReference Include="Avalonia.Desktop" Version="11.3.1" />
20-
<PackageReference Include="Avalonia.Diagnostics" Version="11.3.1" />
21-
<PackageReference Include="Avalonia.ReactiveUI" Version="11.3.1" />
22-
<PackageReference Include="Avalonia.Themes.Simple" Version="11.3.1" />
18+
<PackageReference Include="Avalonia" Version="11.3.2" />
19+
<PackageReference Include="Avalonia.Desktop" Version="11.3.2" />
20+
<PackageReference Include="Avalonia.Diagnostics" Version="11.3.2" />
21+
<PackageReference Include="Avalonia.ReactiveUI" Version="11.3.2" />
22+
<PackageReference Include="Avalonia.Themes.Simple" Version="11.3.2" />
2323
<PackageReference Include="Devolutions.AvaloniaTheme.MacOS" Version="2025.6.19" />
2424
<PackageReference Include="DynamicData" Version="9.4.1" />
2525
<PackageReference Include="FluentAvaloniaUI" Version="2.3.0" />

src/KeyboardSwitch.Settings/Themes/MacOSTheme.axaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
>
66
<StyleInclude Source="avares://Devolutions.AvaloniaTheme.MacOS/MacOSTheme.axaml" />
77

8+
<Style Selector="TabControl">
9+
<Setter Property="Margin" Value="0 8 0 0" />
10+
</Style>
11+
812
<Styles.Resources>
913
<ResourceDictionary>
1014
<SolidColorBrush x:Key="SystemFillColorCriticalBrush" Color="{StaticResource SystemFillColorCritical}" />

0 commit comments

Comments
 (0)