<commit_before>﻿<UserControl x:Class="TextAdventures.Quest.EditorControls.FileControl"
             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" 
             mc:Ignorable="d" 
             d:DesignHeight="30" d:DesignWidth="300">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition MaxWidth="200" Width="*"/>
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>
        <ComboBox Name="lstFiles" SelectionChanged="lstFiles_SelectionChanged" Padding="8,3,8,3" IsEditable="False" VerticalAlignment="Center" MaxWidth="200">
            <ComboBox.ItemTemplate>
                <DataTemplate>
                    <StackPanel Orientation="Horizontal">
                        <Border Padding="0,0,10,0" Visibility="{Binding Path=ImageVisibility}" Width="60" Height="60">
                            <Image Source="{Binding Path=Image}" MaxHeight="60" MaxWidth="60" />
                        </Border>
                        <TextBlock Text="{Binding Path=Title}" VerticalAlignment="Center"></TextBlock>
                    </StackPanel>
                </DataTemplate>
            </ComboBox.ItemTemplate>
        </ComboBox>
        <Button Grid.Column="1" Margin="10,0,0,0" Padding="8,0,8,0" Click="Button_Click" Height="20" VerticalAlignment="Top">Browse...</Button>
    </Grid><commit_msg>#1161 Use high quality scaling in FileControl<commit_after>﻿<UserControl x:Class="TextAdventures.Quest.EditorControls.FileControl"
             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" 
             mc:Ignorable="d" 
             d:DesignHeight="30" d:DesignWidth="300">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition MaxWidth="200" Width="*"/>
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>
        <ComboBox Name="lstFiles" SelectionChanged="lstFiles_SelectionChanged" Padding="8,3,8,3" IsEditable="False" VerticalAlignment="Center" MaxWidth="200">
            <ComboBox.ItemTemplate>
                <DataTemplate>
                    <StackPanel Orientation="Horizontal">
                        <Border Padding="0,0,10,0" Visibility="{Binding Path=ImageVisibility}" Width="60" Height="60">
                            <Image Source="{Binding Path=Image}" MaxHeight="60" MaxWidth="60" RenderOptions.BitmapScalingMode="HighQuality" />
                        </Border>
                        <TextBlock Text="{Binding Path=Title}" VerticalAlignment="Center"></TextBlock>
                    </StackPanel>
                </DataTemplate>
            </ComboBox.ItemTemplate>
        </ComboBox>
        <Button Grid.Column="1" Margin="10,0,0,0" Padding="8,0,8,0" Click="Button_Click" Height="20" VerticalAlignment="Top">Browse...</Button>
    </Grid>
{'fraction_non_alphanumeric': 0.14421894218942188, 'fraction_numerical': 0.03567035670356704, 'mean_word_length': 2.516756756756757, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, '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': '2862264', 'n_tokens_mistral': 999, 'n_tokens_neox': 884, 'n_words': 118}