|
19 | 19 | <ExperimentalAcrylicMaterial BackgroundSource="Digger" TintOpacity="1" TintColor="Black" |
20 | 20 | MaterialOpacity="0.75" FallbackColor="DarkBlue" /> |
21 | 21 | </ExperimentalAcrylicBorder.Material> |
22 | | - <Grid VerticalAlignment="Center" HorizontalAlignment="Center"> |
23 | | - <Grid.ColumnDefinitions> |
24 | | - <ColumnDefinition Width="Auto" /> |
25 | | - <ColumnDefinition Width="Auto" /> |
26 | | - </Grid.ColumnDefinitions> |
| 22 | + <Viewbox> |
| 23 | + <Grid VerticalAlignment="Center" HorizontalAlignment="Center" ColumnDefinitions="Auto, Auto"> |
27 | 24 |
|
28 | | - <!--- News and Links --> |
29 | | - <StackPanel Grid.Column="0" Spacing="5"> |
30 | | - <!-- News Images --> |
31 | | - <Image Source="/Assets/placeholder-news.png" /> |
| 25 | + <!--- News and Links --> |
| 26 | + <StackPanel Grid.Column="0"> |
| 27 | + <!-- News Images --> |
| 28 | + <Image Source="/Assets/placeholder-news.png" Stretch="UniformToFill" Width="640" Height="250" /> |
32 | 29 |
|
33 | | - <!-- News Links --> |
34 | | - <StackPanel Margin="0,20,0,0" Spacing="5"> |
35 | | - <TextBlock>News one</TextBlock> |
36 | | - <TextBlock>News two</TextBlock> |
37 | | - <TextBlock>News three</TextBlock> |
38 | | - <TextBlock>News four</TextBlock> |
39 | | - <TextBlock>News five</TextBlock> |
| 30 | + <!-- News Links --> |
| 31 | + <Border Background="#282828" CornerRadius="5" Margin="0,20,0,0"> |
| 32 | + <ListBox MaxHeight="150" VirtualizationMode="None"> |
| 33 | + <TextBlock VerticalAlignment="Center" Margin="10,0,0,0">News</TextBlock> |
| 34 | + <TextBlock VerticalAlignment="Center" Margin="10,0,0,0">News</TextBlock> |
| 35 | + <TextBlock VerticalAlignment="Center" Margin="10,0,0,0">News</TextBlock> |
| 36 | + <TextBlock VerticalAlignment="Center" Margin="10,0,0,0">News</TextBlock> |
| 37 | + <TextBlock VerticalAlignment="Center" Margin="10,0,0,0">News</TextBlock> |
| 38 | + <TextBlock VerticalAlignment="Center" Margin="10,0,0,0">News</TextBlock> |
| 39 | + </ListBox> |
| 40 | + </Border> |
40 | 41 | </StackPanel> |
41 | | - </StackPanel> |
42 | 42 |
|
43 | | - <!-- Login --> |
44 | | - <Border |
45 | | - Background="#282828" |
46 | | - CornerRadius="5" |
47 | | - Margin="20,0,0,0" |
48 | | - Padding="10" |
49 | | - Grid.Column="1"> |
50 | | - <StackPanel Width="250" Spacing="10" VerticalAlignment="Center"> |
51 | | - <!-- Placeholder logo text --> |
52 | | - <TextBlock Text="XIVLauncher" FontSize="24" FontWeight="Bold" HorizontalAlignment="Center" /> |
| 43 | + <!-- Login --> |
| 44 | + <Border |
| 45 | + Background="#282828" |
| 46 | + CornerRadius="5" |
| 47 | + Margin="20,0,0,0" |
| 48 | + Padding="10" |
| 49 | + Grid.Column="1"> |
| 50 | + <StackPanel Width="250" Spacing="10" VerticalAlignment="Center"> |
| 51 | + <!-- Placeholder logo text --> |
| 52 | + <TextBlock Text="XIVLauncher" FontSize="24" FontWeight="Bold" HorizontalAlignment="Center" /> |
53 | 53 |
|
54 | | - <!-- Text boxes --> |
55 | | - <TextBox Watermark="ID"></TextBox> |
56 | | - <TextBox Watermark="Password" PasswordChar="*"></TextBox> |
| 54 | + <!-- Text boxes --> |
| 55 | + <TextBox Watermark="ID"></TextBox> |
| 56 | + <TextBox Watermark="Password" PasswordChar="*"></TextBox> |
57 | 57 |
|
58 | | - <!-- Checkboxes --> |
59 | | - <StackPanel HorizontalAlignment="Center"> |
60 | | - <CheckBox>Log in automatically</CheckBox> |
61 | | - <CheckBox>Use one time password</CheckBox> |
62 | | - <CheckBox>Use Steam service account</CheckBox> |
63 | | - </StackPanel> |
| 58 | + <!-- Checkboxes --> |
| 59 | + <StackPanel HorizontalAlignment="Center"> |
| 60 | + <CheckBox>Log in automatically</CheckBox> |
| 61 | + <CheckBox>Use one time password</CheckBox> |
| 62 | + <CheckBox>Use Steam service account</CheckBox> |
| 63 | + </StackPanel> |
64 | 64 |
|
65 | | - <!-- Buttons --> |
66 | | - <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" |
67 | | - Spacing="5"> |
68 | | - <Button i:Attached.Icon="fa-play" ToolTip.Tip="Play" Height="40" Width="40" FontSize="20" /> |
69 | | - <Button i:Attached.Icon="fa-user-group" ToolTip.Tip="Accounts" Height="40" Width="40" FontSize="20" /> |
70 | | - <Button i:Attached.Icon="fa-cog" ToolTip.Tip="Settings" Height="40" Width="40" FontSize="20" /> |
| 65 | + <!-- Buttons --> |
| 66 | + <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" |
| 67 | + Spacing="5"> |
| 68 | + <Button i:Attached.Icon="fa-play" ToolTip.Tip="Play" Height="40" Width="40" FontSize="20" Background="#1e88e5" /> |
| 69 | + <Button i:Attached.Icon="fa-user-group" ToolTip.Tip="Accounts" Height="40" Width="40" FontSize="20" /> |
| 70 | + <Button i:Attached.Icon="fa-cog" ToolTip.Tip="Settings" Height="40" Width="40" FontSize="20" /> |
| 71 | + </StackPanel> |
71 | 72 | </StackPanel> |
72 | | - </StackPanel> |
73 | | - </Border> |
74 | | - </Grid> |
| 73 | + </Border> |
| 74 | + </Grid> |
| 75 | + </Viewbox> |
75 | 76 | </ExperimentalAcrylicBorder> |
76 | 77 | </Window> |
0 commit comments