Formatting party dialog
This commit is contained in:
parent
7f2080119f
commit
881d339ffd
@ -27,6 +27,7 @@
|
|||||||
|
|
||||||
#Player {
|
#Player {
|
||||||
background-color: #626363;
|
background-color: #626363;
|
||||||
|
height: 60;
|
||||||
}
|
}
|
||||||
|
|
||||||
#Content {
|
#Content {
|
||||||
|
@ -58,6 +58,7 @@
|
|||||||
<dialog:Modal x:Name="Modal"
|
<dialog:Modal x:Name="Modal"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
Grid.Row="2"
|
Grid.Row="2"
|
||||||
|
BackgroundColor="Gray"
|
||||||
HorizontalOptions="Center"
|
HorizontalOptions="Center"
|
||||||
VerticalOptions="End"/>
|
VerticalOptions="End"/>
|
||||||
|
|
||||||
@ -65,8 +66,7 @@
|
|||||||
<mp:Player
|
<mp:Player
|
||||||
x:Name="Player"
|
x:Name="Player"
|
||||||
Grid.Row="3"
|
Grid.Row="3"
|
||||||
Grid.ColumnSpan="2"
|
Grid.ColumnSpan="2"/>
|
||||||
HeightRequest="60"/>
|
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
</ContentPage>
|
</ContentPage>
|
@ -1,7 +1,26 @@
|
|||||||
|
#View {
|
||||||
|
width: 300;
|
||||||
|
height: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
#DialogTitle {
|
||||||
|
text-align: center;
|
||||||
|
text-align-last: center;
|
||||||
|
margin-top: 20;
|
||||||
|
margin-bottom: 40;
|
||||||
|
margin-left: 20;
|
||||||
|
margin-right: 30;
|
||||||
|
color: white;
|
||||||
|
font-size: 50;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
#Container {
|
#Container {
|
||||||
background-color: red;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
background-color: red;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
s
|
||||||
|
@ -2,35 +2,44 @@
|
|||||||
<ContentView
|
<ContentView
|
||||||
xmlns="http://xamarin.com/schemas/2014/forms"
|
xmlns="http://xamarin.com/schemas/2014/forms"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
x:Class="Aurora.Design.Views.Party.NewPartyDialog.NewPartyDialog">
|
x:Class="Aurora.Design.Views.Party.NewPartyDialog.NewPartyDialog"
|
||||||
|
HorizontalOptions="FillAndExpand"
|
||||||
|
VerticalOptions="FillAndExpand">
|
||||||
<ContentView.Resources>
|
<ContentView.Resources>
|
||||||
<StyleSheet
|
<StyleSheet
|
||||||
Source="NewPartyDialog.css"/>
|
Source="NewPartyDialog.css"/>
|
||||||
</ContentView.Resources>
|
</ContentView.Resources>
|
||||||
<ContentView.Content>
|
<ContentView.Content>
|
||||||
<StackLayout
|
<StackLayout
|
||||||
x:Name="Container"
|
HorizontalOptions="FillAndExpand"
|
||||||
HorizontalOptions="Center"
|
Orientation="Vertical">
|
||||||
VerticalOptions="Start">
|
|
||||||
<Label
|
<Label
|
||||||
Text="Hostname"
|
x:Name="DialogTitle"
|
||||||
VerticalOptions="Center"/>
|
LineBreakMode="WordWrap"
|
||||||
<Entry
|
Text="Join or Host a Party"/>
|
||||||
Text="{Binding Hostname}"
|
|
||||||
x:Name="HostnameEntry"/>
|
|
||||||
<StackLayout
|
<StackLayout
|
||||||
|
x:Name="Container"
|
||||||
Orientation="Horizontal"
|
Orientation="Horizontal"
|
||||||
HorizontalOptions="Center">
|
HorizontalOptions="Center"
|
||||||
<Button
|
VerticalOptions="Start">
|
||||||
HorizontalOptions="Center"
|
<Entry
|
||||||
x:Name="buttonHost"
|
Text="{Binding Hostname}"
|
||||||
Text="Host"
|
Placeholder="Enter a hostname"
|
||||||
Command="{Binding HostCommand}"/>
|
x:Name="HostnameEntry"/>
|
||||||
<Button
|
<StackLayout
|
||||||
HorizontalOptions="Center"
|
Orientation="Horizontal"
|
||||||
x:Name="buttonClient"
|
HorizontalOptions="Center">
|
||||||
Text="Join"
|
<Button
|
||||||
Command="{Binding JoinCommand}"/>
|
HorizontalOptions="Center"
|
||||||
|
x:Name="buttonHost"
|
||||||
|
Text="Host"
|
||||||
|
Command="{Binding HostCommand}"/>
|
||||||
|
<Button
|
||||||
|
HorizontalOptions="Center"
|
||||||
|
x:Name="buttonClient"
|
||||||
|
Text="Join"
|
||||||
|
Command="{Binding JoinCommand}"/>
|
||||||
|
</StackLayout>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</ContentView.Content>
|
</ContentView.Content>
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
xmlns="http://xamarin.com/schemas/2014/forms"
|
xmlns="http://xamarin.com/schemas/2014/forms"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
xmlns:ml="clr-namespace:Aurora.Design.Components.MemberList"
|
xmlns:ml="clr-namespace:Aurora.Design.Components.MemberList"
|
||||||
xmlns:dg="clr-namespace:Aurora.Design.Components.DataGrid"
|
|
||||||
xmlns:library="clr-namespace:Aurora.Design.Components.Library"
|
xmlns:library="clr-namespace:Aurora.Design.Components.Library"
|
||||||
|
xmlns:flv="clr-namespace:DLToolkit.Forms.Controls;assembly=DLToolkit.Forms.Controls.FlowListView"
|
||||||
x:Class="Aurora.Design.Views.Party.PartyView">
|
x:Class="Aurora.Design.Views.Party.PartyView">
|
||||||
<ContentView.Resources>
|
<ContentView.Resources>
|
||||||
<StyleSheet
|
<StyleSheet
|
||||||
@ -19,6 +19,7 @@
|
|||||||
Height="*"/>
|
Height="*"/>
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
<StackLayout
|
<StackLayout
|
||||||
|
x:Name="TabHeader"
|
||||||
Grid.Row="0">
|
Grid.Row="0">
|
||||||
<Label
|
<Label
|
||||||
x:Name="PartyMembersLabel"
|
x:Name="PartyMembersLabel"
|
||||||
|
Loading…
Reference in New Issue
Block a user