-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8855bed
commit e0c0d05
Showing
4 changed files
with
138 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
OpenLyricsClient/Frontend/View/Custom/Badges/Other/DesignerBadge.axaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<UserControl xmlns="https://github.com/avaloniaui" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:avalonia="clr-namespace:Material.Icons.Avalonia;assembly=Material.Icons.Avalonia" | ||
x:Class="OpenLyricsClient.Frontend.View.Custom.Badges.Other.DesignerBadge"> | ||
|
||
<Border CornerRadius="10" Background="{DynamicResource LightBackgroundBrush}"> | ||
|
||
<StackPanel Orientation="Horizontal" Spacing="0"> | ||
|
||
<Border CornerRadius="5" Background="#CC52D2"> | ||
|
||
<StackPanel Orientation="Horizontal" Spacing="5" Margin="4"> | ||
|
||
<TextBlock Text="Designer" | ||
FontWeight="Normal" | ||
Margin="5,5,0,5" | ||
FontSize="14"/> | ||
|
||
<avalonia:MaterialIcon Kind="Art" | ||
VerticalAlignment="Center" | ||
HorizontalAlignment="Stretch"/> | ||
</StackPanel> | ||
</Border> | ||
|
||
</StackPanel> | ||
</Border> | ||
</UserControl> |
18 changes: 18 additions & 0 deletions
18
OpenLyricsClient/Frontend/View/Custom/Badges/Other/DesignerBadge.axaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Avalonia; | ||
using Avalonia.Controls; | ||
using Avalonia.Markup.Xaml; | ||
|
||
namespace OpenLyricsClient.Frontend.View.Custom.Badges.Other; | ||
|
||
public partial class DesignerBadge : UserControl | ||
{ | ||
public DesignerBadge() | ||
{ | ||
InitializeComponent(); | ||
} | ||
|
||
private void InitializeComponent() | ||
{ | ||
AvaloniaXamlLoader.Load(this); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters