<local:RelhaxWindow x:Class="RelhaxModpack.Windows.RelhaxLogViewer"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:RelhaxModpack.Windows"
        mc:Ignorable="d"
        Title="Log Viewer" Height="600" Width="1000" Closed="Window_Closed">
    <Window.Resources>
        <Style TargetType="Grid" BasedOn="{StaticResource DarkThemeGrid}"/>
    </Window.Resources>
    <Grid>
        <TextBox x:Name="LogTextbox" IsReadOnly="True" IsUndoEnabled="False" HorizontalAlignment="Stretch" Margin="10,10,10,35" TextWrapping="NoWrap" VerticalAlignment="Stretch"
                 VerticalScrollBarVisibility="Visible" HorizontalScrollBarVisibility="Auto" Loaded="LogTextbox_Loaded"/>
        <Button x:Name="ClearLogButton" Content="Clear Log" HorizontalAlignment="Right" Margin="0,0,10,10" VerticalAlignment="Bottom" Width="75" Click="ClearLogButton_Click"/>
        <CheckBox x:Name="ToggleWordWrapCheckbox" Content="Toggle word wrap" HorizontalAlignment="Right" Margin="0,0,90,12" VerticalAlignment="Bottom" Click="ToggleWordWrapCheckbox_Click"/>
    </Grid>
</local:RelhaxWindow>
