about summary refs log tree commit diff
path: root/MatrixRoomUtils.Desktop/LoginWindow.axaml
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixRoomUtils.Desktop/LoginWindow.axaml')
-rw-r--r--MatrixRoomUtils.Desktop/LoginWindow.axaml18
1 files changed, 13 insertions, 5 deletions
diff --git a/MatrixRoomUtils.Desktop/LoginWindow.axaml b/MatrixRoomUtils.Desktop/LoginWindow.axaml
index a4600d5..fc0ee6f 100644
--- a/MatrixRoomUtils.Desktop/LoginWindow.axaml
+++ b/MatrixRoomUtils.Desktop/LoginWindow.axaml
@@ -4,14 +4,22 @@
         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
         xmlns:desktop="clr-namespace:MatrixRoomUtils.Desktop"
         mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
-        x:Class="MatrixRoomUtils.Desktop.LoginWindow"
         Title="LoginWindow"
+        x:Class="MatrixRoomUtils.Desktop.LoginWindow"
         x:DataType="desktop:LoginWindow"
         DataContext="{Binding $self}"
-        >
+        SizeToContent="WidthAndHeight" CanResize="False"
+        MinWidth="250">
     <StackPanel>
-        <TextBox Text="{Binding Username, Mode=TwoWay}" />
-        <MaskedTextBox PasswordChar="*" Text="{Binding Password, Mode=TwoWay}" />
+        <Label>Log in</Label>
+        <StackPanel Orientation="Horizontal">
+            <Label Width="100">User ID</Label>
+            <TextBox MinWidth="250" Text="{Binding Username, Mode=TwoWay}" />
+        </StackPanel>
+        <StackPanel Orientation="Horizontal">
+            <Label Width="100">Password</Label>
+            <MaskedTextBox MinWidth="250" PasswordChar="*" Text="{Binding Password, Mode=TwoWay}" />
+        </StackPanel>
         <Button Click="Login">Login</Button>
     </StackPanel>
-</Window>
+</Window>
\ No newline at end of file