<UserControl x:Class="Launcher.Client.Avalonia.GUI.ProgramLabel"
             xmlns="https://github.com/avaloniaui"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:local="clr-namespace:Launcher.Client.Avalonia.GUI"
             Height="50"
             Background="{DynamicResource MyDarkTr}"
             BorderBrush="{Binding Foreground, RelativeSource={RelativeSource Self}}"
             BorderThickness="3"
             Foreground="{DynamicResource MyWhite}">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="{Binding $parent[local:ProgramLabel].Height}" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>

        <Image x:Name="IconImage"
               Grid.Column="0"
               Margin="3,3,3,3"
               Stretch="Fill" />

        <Label Name="NameLabel"
               Grid.Column="1"
               VerticalContentAlignment="Center"
               Content="label"
               FontFamily="Unispace"
               FontSize="15"
               FontWeight="Normal"
               Foreground="{Binding $parent[local:ProgramLabel].Foreground}" />
    </Grid>
</UserControl>
