evtl sogar fertig
This commit is contained in:
parent
68cf1e01db
commit
eae41e1218
@ -2,11 +2,45 @@
|
|||||||
<UserControl xmlns="https://github.com/avaloniaui"
|
<UserControl xmlns="https://github.com/avaloniaui"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:i="using:Avalonia.Interactivity"
|
xmlns:i="using:Avalonia.Interactivity"
|
||||||
x:Class="Project_Periodensystem.View.AboutPage">
|
x:Class="Project_Periodensystem.View.AboutPage"
|
||||||
<Grid>
|
Background="#5C5144">
|
||||||
<Button x:Name="BackButton"
|
<Grid>
|
||||||
Click="BackButton_Click">
|
<StackPanel VerticalAlignment="Center"
|
||||||
Back
|
HorizontalAlignment="Center">
|
||||||
</Button>
|
<TextBlock Text="Author: Oliver Träger"
|
||||||
</Grid>
|
FontSize="20"
|
||||||
|
Foreground="White"
|
||||||
|
HorizontalAlignment="Center"
|
||||||
|
Margin="0,0,0,10"/>
|
||||||
|
<TextBlock Text="Klasse: ITFS2"
|
||||||
|
FontSize="20"
|
||||||
|
Foreground="White"
|
||||||
|
HorizontalAlignment="Center"
|
||||||
|
Margin="0,0,0,10"/>
|
||||||
|
<TextBlock Text="SS2025"
|
||||||
|
FontSize="20"
|
||||||
|
Foreground="White"
|
||||||
|
HorizontalAlignment="Center"
|
||||||
|
Margin="0,0,0,40"/>
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
|
<Button x:Name="BackButton"
|
||||||
|
Click="BackButton_Click"
|
||||||
|
HorizontalAlignment="Left"
|
||||||
|
VerticalAlignment="Top"
|
||||||
|
Margin="20"
|
||||||
|
Padding="20,10"
|
||||||
|
Background="Black"
|
||||||
|
Foreground="White">
|
||||||
|
<Button.Styles>
|
||||||
|
<Style Selector="Button:pointerover /template/ ContentPresenter">
|
||||||
|
<Setter Property="Background" Value="DarkRed"/>
|
||||||
|
</Style>
|
||||||
|
<Style Selector="Button:pressed /template/ ContentPresenter">
|
||||||
|
<Setter Property="Background" Value="Red"/>
|
||||||
|
</Style>
|
||||||
|
</Button.Styles>
|
||||||
|
Back
|
||||||
|
</Button>
|
||||||
|
</Grid>
|
||||||
</UserControl>
|
</UserControl>
|
||||||
@ -1,7 +1,13 @@
|
|||||||
<UserControl xmlns="https://github.com/avaloniaui"
|
<UserControl xmlns="https://github.com/avaloniaui"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
x:Class="Project_Periodensystem.View.LandingPage">
|
x:Class="Project_Periodensystem.View.LandingPage"
|
||||||
|
Background="#5C5144">
|
||||||
<Grid>
|
<Grid>
|
||||||
|
<TextBlock Text="Willkommen zum Periodensystem der Elemente!"
|
||||||
|
FontSize="36"
|
||||||
|
HorizontalAlignment="Center"
|
||||||
|
VerticalAlignment="Top"
|
||||||
|
Margin="0,40,0,0"/>
|
||||||
<Button Name="StartButton"
|
<Button Name="StartButton"
|
||||||
Click="StartButton_Click"
|
Click="StartButton_Click"
|
||||||
HorizontalAlignment="Center"
|
HorizontalAlignment="Center"
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:conv="clr-namespace:Project_Periodensystem.View.Converters"
|
xmlns:conv="clr-namespace:Project_Periodensystem.View.Converters"
|
||||||
x:Class="Project_Periodensystem.View.PeriodicTablePage"
|
x:Class="Project_Periodensystem.View.PeriodicTablePage"
|
||||||
Background="Beige">
|
Background="#5C5144">
|
||||||
|
|
||||||
<UserControl.Resources>
|
<UserControl.Resources>
|
||||||
<conv:SeriesToColorConverter x:Key="SeriesToColor"/>
|
<conv:SeriesToColorConverter x:Key="SeriesToColor"/>
|
||||||
@ -18,8 +18,9 @@
|
|||||||
|
|
||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
<TextBlock Grid.Row="0"
|
<TextBlock Grid.Row="0"
|
||||||
Text="Periodensystem der Elemente"
|
Text="Periodensystem der Elemente"
|
||||||
FontSize="24"
|
FontSize="36"
|
||||||
|
FontWeight="Bold"
|
||||||
Foreground="White"
|
Foreground="White"
|
||||||
HorizontalAlignment="Center"
|
HorizontalAlignment="Center"
|
||||||
Margin="0,0,0,20"/>
|
Margin="0,0,0,20"/>
|
||||||
@ -69,11 +70,21 @@
|
|||||||
<!-- Footer with About Button -->
|
<!-- Footer with About Button -->
|
||||||
<Button Grid.Row="2"
|
<Button Grid.Row="2"
|
||||||
x:Name="AboutButton"
|
x:Name="AboutButton"
|
||||||
|
Content="About"
|
||||||
Click="AboutButton_Click"
|
Click="AboutButton_Click"
|
||||||
HorizontalAlignment="Right"
|
HorizontalAlignment="Right"
|
||||||
Margin="0,20,0,0"
|
Margin="0,20,0,0"
|
||||||
Padding="20,10">
|
Padding="20,10"
|
||||||
About
|
Background="Black"
|
||||||
|
Foreground="White">
|
||||||
|
<Button.Styles>
|
||||||
|
<Style Selector="Button:pointerover /template/ ContentPresenter">
|
||||||
|
<Setter Property="Background" Value="DarkRed"/>
|
||||||
|
</Style>
|
||||||
|
<Style Selector="Button:pressed /template/ ContentPresenter">
|
||||||
|
<Setter Property="Background" Value="Red"/>
|
||||||
|
</Style>
|
||||||
|
</Button.Styles>
|
||||||
</Button>
|
</Button>
|
||||||
</Grid>
|
</Grid>
|
||||||
</UserControl>
|
</UserControl>
|
||||||
Loading…
Reference in New Issue
Block a user