Update: Mutli Channel Support
This commit is contained in:
@@ -5,26 +5,60 @@
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
Title="Relay Client">
|
||||
|
||||
<Grid RowDefinitions="Auto,*,Auto" Padding="12" RowSpacing="10">
|
||||
<Grid RowDefinitions="Auto,*,Auto"
|
||||
ColumnDefinitions="220,*"
|
||||
Padding="12"
|
||||
RowSpacing="10"
|
||||
ColumnSpacing="10">
|
||||
|
||||
<Border Grid.Row="0" StrokeThickness="1" Padding="10">
|
||||
<!-- Header -->
|
||||
<Border Grid.Row="0"
|
||||
Grid.ColumnSpan="2"
|
||||
StrokeThickness="1"
|
||||
Padding="10">
|
||||
<VerticalStackLayout Spacing="4">
|
||||
<Label x:Name="UserLabel"
|
||||
Text="Logged in as: Unknown"
|
||||
FontAttributes="Bold"
|
||||
FontSize="18" />
|
||||
<Label Text="#general"
|
||||
<Label x:Name="ChannelLabel"
|
||||
Text="No channel selected"
|
||||
FontSize="14" />
|
||||
</VerticalStackLayout>
|
||||
</Border>
|
||||
|
||||
<Border Grid.Row="1" StrokeThickness="1" Padding="10">
|
||||
<ScrollView x:Name="MessagesScrollView">
|
||||
<VerticalStackLayout x:Name="MessagesLayout" Spacing="8" />
|
||||
<!-- Sidebar -->
|
||||
<Border Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
StrokeThickness="1"
|
||||
Padding="10">
|
||||
<ScrollView>
|
||||
<VerticalStackLayout Spacing="8">
|
||||
<Label Text="Channels"
|
||||
FontAttributes="Bold"
|
||||
FontSize="16" />
|
||||
<VerticalStackLayout x:Name="SidebarList"
|
||||
Spacing="6" />
|
||||
</VerticalStackLayout>
|
||||
</ScrollView>
|
||||
</Border>
|
||||
|
||||
<Grid Grid.Row="2" ColumnDefinitions="*,Auto" ColumnSpacing="10">
|
||||
<!-- Messages -->
|
||||
<Border Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
StrokeThickness="1"
|
||||
Padding="10">
|
||||
<ScrollView x:Name="MessagesScrollView">
|
||||
<VerticalStackLayout x:Name="MessagesLayout"
|
||||
Spacing="8" />
|
||||
</ScrollView>
|
||||
</Border>
|
||||
|
||||
<!-- Input -->
|
||||
<Grid Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
ColumnDefinitions="*,Auto"
|
||||
ColumnSpacing="10">
|
||||
<Entry x:Name="MessageEntry"
|
||||
Grid.Column="0"
|
||||
Placeholder="Type a message..."
|
||||
|
||||
Reference in New Issue
Block a user