Skip to content

Commit 7385ac9

Browse files
committed
Move label style to MouseButtonComboControl
1 parent 6593d75 commit 7385ac9

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

YMouseButtonControl/Views/LayerView.axaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
<Setter Property="VerticalAlignment" Value="Top" />
2121
<Setter Property="MinHeight" Value="20" />
2222
</Style>
23-
<Style Selector="Label">
24-
<Setter Property="VerticalAlignment" Value="Center"></Setter>
25-
</Style>
2623
</UserControl.Styles>
2724

2825
<TabControl Padding="0">

YMouseButtonControl/Views/MouseButtonComboControl.axaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88
<Design.DataContext>
99
<vm:MouseComboViewModel />
1010
</Design.DataContext>
11+
12+
<UserControl.Styles>
13+
<Style Selector="Label">
14+
<Setter Property="VerticalAlignment" Value="Center"></Setter>
15+
</Style>
16+
</UserControl.Styles>
1117

1218
<Grid ColumnDefinitions="150,*,Auto" Margin="5">
1319
<Label Content="{Binding LabelTxt}" />

0 commit comments

Comments
 (0)