Skip to content

Commit 7bbbe83

Browse files
feat: stylizing remove button to clarify
Making the remove button red so what it does is more clear.
1 parent 617ee8d commit 7bbbe83

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/TwitchStreamingTools/Views/Pages/ChatView.axaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,18 @@
4444
</Grid.ColumnDefinitions>
4545
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Center" Text="{Binding }" Padding="0" />
4646
<Button Grid.Column="1"
47+
Content="-"
48+
FontWeight="Bold"
4749
Command="{Binding $parent[UserControl].((pages:ChatViewModel)DataContext).OnRemoveChat, FallbackValue=null}"
4850
CommandParameter="{Binding }">
49-
-
51+
<Button.Styles>
52+
<Style Selector="Button">
53+
<Setter Property="Background" Value="#643332" />
54+
</Style>
55+
<Style Selector="Button:pointerover /template/ ContentPresenter">
56+
<Setter Property="Background" Value="#963332" />
57+
</Style>
58+
</Button.Styles>
5059
</Button>
5160
</Grid>
5261
</DataTemplate>

0 commit comments

Comments
 (0)