<commit_before>﻿<metro:MetroWindow x:Class="TirkxDownloader.Views.ShellView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:metro="http://metro.mahapps.com/winfx/xaml/controls"
        Height="600" Width="800" WindowStartupLocation="CenterScreen"
        GlowBrush="{DynamicResource AccentColorBrush}"
        x:Name="MainWindow"
        Icon="/TirkxDownloader;component/Resources/sakuramini.ico">
    <DockPanel LastChildFill="True">
        <Menu DockPanel.Dock="Top">
            <MenuItem Header="File" />
        </Menu>
        <ListBox x:Name="Items" DockPanel.Dock="Left" Width="150" MinHeight="250" BorderThickness="1" Margin="10,5,5,5" VerticalAlignment="Top">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding DisplayName}" />
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
        <StatusBar DockPanel.Dock="Bottom" Margin="-165,0,0,0">
            <StatusBarItem Content="test" />
        </StatusBar>
        <metro:TransitioningContentControl x:Name="ActiveItem" Margin="5,5,10,5" />
    </DockPanel>
</metro:MetroWindow><commit_msg>Edit to use Grid as main layout control<commit_after>﻿<metro:MetroWindow x:Class="TirkxDownloader.Views.ShellView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:metro="http://metro.mahapps.com/winfx/xaml/controls"
        xmlns:cal="http://www.caliburnproject.org"
        Height="600" Width="800" WindowStartupLocation="CenterScreen"
        BorderBrush="{DynamicResource AccentColorBrush}"
        Icon="/TirkxDownloader;component/Resources/sakuramini.ico">
    <metro:MetroWindow.RightWindowCommands>
        <metro:WindowCommands>
            <Button>
                <StackPanel Orientation="Horizontal">
                    <Rectangle Width="18" Height="18"
                               Fill="{Binding RelativeSource={RelativeSource AncestorType=Button}, Path=Foreground}">
                        <Rectangle.OpacityMask>
                            <VisualBrush Stretch="Fill"
                                         Visual="{StaticResource appbar_cog}" />
                        </Rectangle.OpacityMask>
                    </Rectangle>
                    <TextBlock Text="Setting"
                               Margin="5,0,0,0" />
                </StackPanel>
            </Button>
        </metro:WindowCommands>
    </metro:MetroWindow.RightWindowCommands>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="25" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="200" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <ListBox x:Name="Items"
                 BorderThickness="0,0,1,0"
                 Margin="0,0,0,5"
                 Grid.Column="0">
            <ListBox.BorderBrush>
                <SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ControlLightColorKey}}"/>
            </ListBox.BorderBrush>
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding DisplayName}"
                               FontSize="14"
                               Padding="15"/>
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
        <metro:TransitioningContentControl x:Name="ActiveItem"
                                           Margin="5,5,10,5"
                                           Grid.Row="0"
                                           Grid.Column="1" />
        <StatusBar Grid.ColumnSpan="2"
                   Grid.Row="1">
            <StatusBarItem Content="test" />
        </StatusBar>
    </Grid>
</metro:MetroWindow>
{'fraction_non_alphanumeric': 0.1282051282051282, 'fraction_numerical': 0.021618903971845148, 'mean_word_length': 1.88124547429399, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 61, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 7}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '72063', 'n_tokens_mistral': 1175, 'n_tokens_neox': 1080, 'n_words': 137}