<UserControl x:Class="BallanceTasEditor.Frontend.Widgets.BannerBar"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:BallanceTasEditor.Frontend.Widgets"
             mc:Ignorable="d" 
             x:Name="Root"
             d:DesignHeight="80" d:DesignWidth="600">
    <Border BorderThickness="0" Background="#0097A7" Padding="10">
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="auto"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>

            <Image Source="{Binding ElementName=Root, Path=BannerIcon, Mode=OneWay}" 
               Width="32" Height="32" RenderOptions.BitmapScalingMode="HighQuality"
               Grid.Column="0" VerticalAlignment="Center">
                <Image.Effect>
                    <DropShadowEffect Color="White" Direction="0" ShadowDepth="0" BlurRadius="20"/>
                </Image.Effect>
            </Image>
            <TextBlock Text="{Binding ElementName=Root, Path=BannerText, Mode=OneWay}" 
                   Grid.Column="1" Margin="10,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left" 
                   Foreground="#CDDC39" TextWrapping="Wrap"/>
        </Grid>
    </Border>
</UserControl>
