Skip to content

Commit 324f229

Browse files
sharpninjaCopilot
andcommitted
Style: global 4px margin on all interactive/display controls in Avalonia app
Single style rule in App.axaml targeting Button, TextBox, ComboBox, CheckBox, ListBox, SelectableTextBlock, and TabControl so every control gets consistent 4px spacing without touching individual XAML files. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 0b491de commit 324f229

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/RemoteAgent.Desktop/App.axaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,9 @@
4141
<fluent:FluentTheme />
4242
<fa:FluentAvaloniaTheme />
4343
<StyleInclude Source="avares://ToolBarControls.Avalonia/Themes/ToolBarControls.Avalonia.axaml" />
44+
<!-- Global 4 px margin on all interactive / display controls -->
45+
<Style Selector="Button, TextBox, ComboBox, CheckBox, ListBox, SelectableTextBlock, TabControl">
46+
<Setter Property="Margin" Value="4" />
47+
</Style>
4448
</Application.Styles>
4549
</Application>

0 commit comments

Comments
 (0)