96 lines
3.7 KiB
XML
96 lines
3.7 KiB
XML
<UserControl x:Class="Valheim_Mod_Sync_Desktop.Views.SyncControl"
|
|
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:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
TextElement.FontWeight="Medium"
|
|
TextElement.FontSize="14"
|
|
FontFamily="{materialDesign:MaterialDesignFont}"
|
|
xmlns:local="clr-namespace:Valheim_Mod_Sync_Desktop"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="381" d:DesignWidth="800"
|
|
>
|
|
|
|
<Grid
|
|
Background="{DynamicResource BackgroundGrid}"
|
|
>
|
|
|
|
<Button
|
|
x:Name="Sync_Update"
|
|
Content="{DynamicResource Sync}"
|
|
Click="Sync"
|
|
HorizontalAlignment="Center"
|
|
Margin="0,343,0,0"
|
|
VerticalAlignment="Top"
|
|
Background="{DynamicResource ButtonBackgroundColor}"
|
|
BorderBrush="{DynamicResource ButtonBackgroundColor}"
|
|
Foreground="{DynamicResource ButtonTextColor}" Cursor="Hand"
|
|
/>
|
|
|
|
<TextBox
|
|
x:Name="output"
|
|
TextWrapping="Wrap"
|
|
Width="770"
|
|
Margin="15,54,15,54"
|
|
Background="{DynamicResource TextBoxBackgroundColor}"
|
|
BorderBrush="{x:Null}"
|
|
Foreground="{DynamicResource TextBoxTextColor}"
|
|
SelectionTextBrush="{x:Null}"
|
|
SelectionBrush="{x:Null}"
|
|
CaretBrush="{x:Null}"
|
|
IsReadOnly="True" Cursor="IBeam"
|
|
/>
|
|
|
|
<Label
|
|
x:Name="Changelog"
|
|
Content="{DynamicResource Changelog}"
|
|
HorizontalAlignment="Left"
|
|
Margin="656,350,0,0"
|
|
VerticalAlignment="Top"
|
|
MouseLeftButtonDown="Changelog_MouseLeftButtonDown"
|
|
Foreground="{DynamicResource ButtonTextColor}" Cursor="Hand"
|
|
/>
|
|
|
|
<TextBlock
|
|
HorizontalAlignment="Left"
|
|
Margin="15,19,0,0"
|
|
Text="{DynamicResource ValheimPfad}"
|
|
TextWrapping="Wrap"
|
|
VerticalAlignment="Top"
|
|
Foreground="{DynamicResource HeaderTextColor}"
|
|
FontWeight="Bold"
|
|
FontSize="14"
|
|
/>
|
|
|
|
<TextBox
|
|
x:Name="Pfad"
|
|
IsReadOnly="True"
|
|
HorizontalAlignment="Left"
|
|
Margin="114,16,0,0"
|
|
TextWrapping="Wrap"
|
|
VerticalAlignment="Top"
|
|
Width="554"
|
|
Background="{DynamicResource TextBoxBackgroundColor}"
|
|
SelectionTextBrush="{x:Null}"
|
|
SelectionBrush="{x:Null}"
|
|
Foreground="{DynamicResource TextBoxTextColor}"
|
|
BorderBrush="{x:Null}"
|
|
FontSize="14" Cursor="IBeam"
|
|
/>
|
|
|
|
<Button
|
|
x:Name="Auswählen_Pfad"
|
|
Content="{DynamicResource PfadButton}"
|
|
Click="Auswählen_Pfad_Click"
|
|
HorizontalAlignment="Left"
|
|
Margin="684,16,0,0"
|
|
VerticalAlignment="Top"
|
|
Foreground="{DynamicResource ButtonTextColor}"
|
|
Background="{DynamicResource ButtonBackgroundColor}"
|
|
BorderBrush="{DynamicResource ButtonBackgroundColor}"
|
|
Height="24" Cursor="Hand"
|
|
/>
|
|
</Grid>
|
|
</UserControl>
|