Skip to content

Commit

Permalink
Move label style to MouseButtonComboControl
Browse files Browse the repository at this point in the history
  • Loading branch information
FaithBeam committed Oct 5, 2024
1 parent 6593d75 commit 7385ac9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 0 additions & 3 deletions YMouseButtonControl/Views/LayerView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
<Setter Property="VerticalAlignment" Value="Top" />
<Setter Property="MinHeight" Value="20" />
</Style>
<Style Selector="Label">
<Setter Property="VerticalAlignment" Value="Center"></Setter>
</Style>
</UserControl.Styles>

<TabControl Padding="0">
Expand Down
6 changes: 6 additions & 0 deletions YMouseButtonControl/Views/MouseButtonComboControl.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
<Design.DataContext>
<vm:MouseComboViewModel />
</Design.DataContext>

<UserControl.Styles>
<Style Selector="Label">
<Setter Property="VerticalAlignment" Value="Center"></Setter>
</Style>
</UserControl.Styles>

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

0 comments on commit 7385ac9

Please sign in to comment.