Changeset - 1adbe9710722
[Not reviewed]
default
0 2 0
Jason Maltzen - 11 months ago 2023-12-07 05:57:41
jason@hiddenachievement.com
Fix welcome/about to say T11 instead of T10
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
Views/AboutView.axaml
Show inline comments
 
<Window xmlns="https://github.com/avaloniaui"
 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 
        xmlns:vm="using:DesertPaintCodex.ViewModels"
 
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 
        mc:Ignorable="d" d:DesignWidth="296" d:DesignHeight="550"
 
        x:Class="DesertPaintCodex.Views.AboutView"
 
        Width="296" Height="550" Topmost="True"
 
        SizeToContent="Height"
 
        SystemDecorations="BorderOnly"
 
        WindowStartupLocation="CenterScreen"
 
        Title="About Desert Paint Codex">
 

	
 
    <Design.DataContext>
 
        <vm:AboutViewModel />
 
    </Design.DataContext>
 

	
 
    <Window.DataContext>
 
        <vm:AboutViewModel />
 
    </Window.DataContext>
 

	
 
    <DockPanel Margin="20" LastChildFill="True">
 
        <Image DockPanel.Dock="Top" Source="{StaticResource Image_Splash}" Width="256" Height="256"/>
 
        <TextBlock DockPanel.Dock="Top" Classes="BlockHeader" Margin="0, 10, 0, 0">DESERT PAINT CODEX - T10</TextBlock>
 
        <TextBlock DockPanel.Dock="Top" Classes="BlockHeader" Margin="0, 10, 0, 0">DESERT PAINT CODEX - T11</TextBlock>
 

	
 
        <TextBlock DockPanel.Dock="Top" Margin="0, 5, 0, 0">
 
            Authors: Afrah, Snoerr
 
        </TextBlock>
 

	
 
        <Button DockPanel.Dock="Bottom" Command="{Binding CloseDialog}">Done</Button>
 

	
 
        <Button DockPanel.Dock="Bottom" Command="{Binding OpenBrowser}"
 
                CommandParameter="https://repos.malkyne.org/ATITD-Tools/Desert-Paint-Codex" Margin="0, 0, 0, 10">
 
            Visit Repository
 
        </Button>
 

	
 
        <TextBlock TextWrapping="Wrap" Margin="0, 30" Text="{Binding AboutText}" />
 
    </DockPanel>
 
</Window>
...
 
\ No newline at end of file
Views/WelcomeView.axaml
Show inline comments
 
<Window xmlns="https://github.com/avaloniaui"
 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 
        xmlns:vm="using:DesertPaintCodex.ViewModels"
 
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 
        mc:Ignorable="d" d:DesignWidth="296" d:DesignHeight="550"
 
        x:Class="DesertPaintCodex.Views.WelcomeView"
 
        Width="296"
 
        SizeToContent="Height"
 
        SystemDecorations="BorderOnly"
 
        WindowStartupLocation="CenterScreen"
 
        Topmost="True"
 
        Title="Welcome">
 
    
 
    <Design.DataContext>
 
        <vm:WelcomeViewModel/>
 
    </Design.DataContext>
 
    
 
    <Window.DataContext>
 
        <vm:WelcomeViewModel/>
 
    </Window.DataContext>
 
    
 
    <DockPanel Margin="20">
 
        <!-- <Image DockPanel.Dock="Top" Source="avares://DesertPaintCodex/Assets/ATITD-Tools/desert-paint-codex-splash.png" Width="256" Height="256"/> -->
 
        <Image DockPanel.Dock="Top" Source="{StaticResource Image_Splash}" Width="256" Height="256"/>
 
       
 
        <TextBlock DockPanel.Dock="Top" Classes="BlockHeader" Margin="0, 15">DESERT PAINT CODEX - T10</TextBlock>
 
        <TextBlock DockPanel.Dock="Top" Classes="BlockHeader" Margin="0, 15">DESERT PAINT CODEX - T11</TextBlock>
 
        <ContentControl Content="{Binding ProfileActivity}"/>
 
    </DockPanel>
 
</Window>
0 comments (0 inline, 0 general)