label → button in mainpage / add "return button" in all pages / styles edit for color label / add setplayers pages / re-use leaderboard page in scoreboard page. good night :)
parent
2864310742
commit
cf79d10a11
@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="Qwirkle.Pages.SetPlayers"
|
||||
Title="SetPlayers">
|
||||
<VerticalStackLayout>
|
||||
|
||||
<Label
|
||||
Text="SetPlayers"
|
||||
FontSize="51"
|
||||
VerticalOptions="Center"
|
||||
HorizontalOptions="Center" />
|
||||
|
||||
<Label
|
||||
Text="Players 1"
|
||||
FontSize="20"
|
||||
HorizontalOptions="Start" />
|
||||
|
||||
<Entry Text="Entry tag of player1" HorizontalOptions="Start" MinimumWidthRequest="200" Margin="10"/>
|
||||
|
||||
<Label
|
||||
Text="Players 2"
|
||||
FontSize="20"
|
||||
HorizontalOptions="Start" />
|
||||
|
||||
<Entry Text="Entry tag of player2" HorizontalOptions="Start" MinimumWidthRequest="200" Margin="10"/>
|
||||
|
||||
<Label
|
||||
Text="Players 3"
|
||||
FontSize="20"
|
||||
HorizontalOptions="Start" />
|
||||
|
||||
<Entry Text="Entry tag of player3" HorizontalOptions="Start" MinimumWidthRequest="200" Margin="10"/>
|
||||
|
||||
<Label
|
||||
Text="Players 4"
|
||||
FontSize="20"
|
||||
HorizontalOptions="Start" />
|
||||
|
||||
<Entry Text="Entry tag of player4" HorizontalOptions="Start" MinimumWidthRequest="200" Margin="10"/>
|
||||
|
||||
|
||||
<Button Text="Confirm"
|
||||
Margin="200"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="End"
|
||||
/>
|
||||
|
||||
</VerticalStackLayout>
|
||||
</ContentPage>
|
@ -0,0 +1,9 @@
|
||||
namespace Qwirkle.Pages;
|
||||
|
||||
public partial class SetPlayers : ContentPage
|
||||
{
|
||||
public SetPlayers()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="Qwirkle.Views.ScoreboardLine">
|
||||
<Grid ColumnDefinitions="4*, 2*"
|
||||
RowDefinitions="50">
|
||||
|
||||
<Label
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
FontSize="Medium"
|
||||
FontAttributes="Bold"
|
||||
Text="Player Tag"
|
||||
TextColor="DarkSlateGrey"
|
||||
VerticalOptions="Center"/>
|
||||
|
||||
<Label
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
FontSize="Medium"
|
||||
FontAttributes="Bold"
|
||||
Text="Points"
|
||||
TextColor="DarkSlateGrey"
|
||||
VerticalOptions="Center"/>
|
||||
|
||||
</Grid>
|
||||
</ContentView>
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Qwirkle.Views;
|
||||
|
||||
public partial class ScoreboardLine : ContentView
|
||||
{
|
||||
public ScoreboardLine()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
Loading…
Reference in new issue