<commit_before>﻿<UserControl
    x:Class="Kimono.Controls.SnackBar.SnackBarMessage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Kimono.Controls.SnackBar"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300"
    d:DesignWidth="400"
    Height="Auto"
    Width="Auto"
    MinWidth="300"
    x:Name="control"
    Foreground="{ThemeResource ApplicationForegroundThemeBrush}"
    Background="{ThemeResource SystemControlBackgroundChromeMediumBrush}">

    <Grid Background="{Binding ElementName=control, Path=Background, UpdateSourceTrigger=PropertyChanged}" 
          Padding="20 10">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>
        <TextBlock x:Name="PART_MessageBlock" Foreground="{Binding ElementName=control, Path=Foreground, UpdateSourceTrigger=PropertyChanged}"
                   Style="{ThemeResource CaptionTextBlockStyle}"
                   Grid.Column="0" VerticalAlignment="Center" />

        <Button Visibility="Collapsed" x:Name="PART_CommandButton" Grid.Column="1" />
    </Grid>
</UserControl>
<commit_msg>Updated margins on the snack bar message when a button is visible.<commit_after>﻿<UserControl
    x:Class="Kimono.Controls.SnackBar.SnackBarMessage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Kimono.Controls.SnackBar"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300"
    d:DesignWidth="400"
    Height="Auto"
    Width="Auto"
    MinWidth="300"
    x:Name="control"
    Foreground="{ThemeResource ApplicationForegroundThemeBrush}"
    Background="{ThemeResource SystemControlBackgroundChromeMediumBrush}">

    <Grid Background="{Binding ElementName=control, Path=Background, UpdateSourceTrigger=PropertyChanged}" 
          Padding="20 10">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>
        <TextBlock x:Name="PART_MessageBlock" Foreground="{Binding ElementName=control, Path=Foreground, UpdateSourceTrigger=PropertyChanged}"
                   Style="{ThemeResource CaptionTextBlockStyle}"
                   Grid.Column="0" VerticalAlignment="Center" />

        <Button Visibility="Collapsed" x:Name="PART_CommandButton" Margin="10 0 0 0" Grid.Column="1" />
    </Grid>
</UserControl>

{'fraction_non_alphanumeric': 0.13371064732932436, 'fraction_numerical': 0.023700035373187125, 'mean_word_length': 4.059033989266547, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1079421', 'n_tokens_mistral': 908, 'n_tokens_neox': 803, 'n_words': 109}