mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Created TextViewer
This commit is contained in:
parent
ed3b46e99b
commit
9b428aefdc
16
Wabbajack/UI/TextViewer.xaml
Normal file
16
Wabbajack/UI/TextViewer.xaml
Normal file
@ -0,0 +1,16 @@
|
||||
<Window x:Class="Wabbajack.UI.TextViewer"
|
||||
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:Wabbajack.UI"
|
||||
Style="{StaticResource {x:Type Window}}"
|
||||
mc:Ignorable="d"
|
||||
Icon="Icons/wabbajack.ico"
|
||||
WindowStyle="ToolWindow"
|
||||
Title="TextViewer" Height="450" Width="800">
|
||||
<Grid>
|
||||
<TextBlock FontSize="20" Name="TextBlock" TextWrapping="Wrap"/>
|
||||
<!--<RichTextBox FontSize="15" Name="RichTextBox" AllowDrop="False" IsReadOnly="True"/>-->
|
||||
</Grid>
|
||||
</Window>
|
16
Wabbajack/UI/TextViewer.xaml.cs
Normal file
16
Wabbajack/UI/TextViewer.xaml.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Windows;
|
||||
using System.Windows.Documents;
|
||||
|
||||
namespace Wabbajack.UI
|
||||
{
|
||||
public partial class TextViewer : Window
|
||||
{
|
||||
public TextViewer(string text)
|
||||
{
|
||||
InitializeComponent();
|
||||
TextBlock.Text = text;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
@ -198,6 +198,9 @@
|
||||
<Compile Include="Themes\LeftMarginMultiplierConverter.cs" />
|
||||
<Compile Include="Themes\TreeViewItemExtensions.cs" />
|
||||
<Compile Include="UI\SlideShow.cs" />
|
||||
<Compile Include="UI\TextViewer.xaml.cs">
|
||||
<DependentUpon>TextViewer.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\UIUtils.cs" />
|
||||
<Compile Include="Updater\CheckForUpdates.cs" />
|
||||
<Compile Include="Validation\DTOs.cs" />
|
||||
@ -232,6 +235,10 @@
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="UI\TextViewer.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="NexusApi\NexusApi.cs" />
|
||||
|
Loading…
Reference in New Issue
Block a user