|
5 | 5 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
6 | 6 | xmlns:local="clr-namespace:Biyori"
|
7 | 7 | xmlns:wpf="clr-namespace:Biyori.Lib.WPF"
|
| 8 | + xmlns:leftNav="clr-namespace:Biyori.Components.LeftNavigation" |
8 | 9 | xmlns:adorners="http://gu.se/Adorners"
|
| 10 | + WindowStartupLocation="CenterScreen" |
9 | 11 | mc:Ignorable="d"
|
10 | 12 | Title="MainWindow" Height="450" MinHeight="450" Width="800" MinWidth="800">
|
11 | 13 | <Window.Resources>
|
|
18 | 20 | <ColumnDefinition Width="200px" />
|
19 | 21 | </Grid.ColumnDefinitions>
|
20 | 22 | <Grid.RowDefinitions>
|
21 |
| - <RowDefinition Height="48px" /> |
| 23 | + <RowDefinition Height="36px" /> |
22 | 24 | <RowDefinition Height="*" />
|
23 | 25 | <RowDefinition Height="28px" />
|
24 | 26 | </Grid.RowDefinitions>
|
25 |
| - <Grid Grid.Row="1" Grid.Column="0" Background="#efefef"> |
26 |
| - <TextBlock>Now Playing, ...</TextBlock> |
27 |
| - </Grid> |
| 27 | + <Border Style="{StaticResource leftNav}" Grid.Row="1" Grid.Column="0"> |
| 28 | + <Grid> |
| 29 | + <leftNav:LeftNavigationControl /> |
| 30 | + </Grid> |
| 31 | + </Border> |
28 | 32 | <Grid Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2">
|
29 | 33 | <StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch" wpf:MarginSetter.Margin="4, 0" wpf:MarginSetter.LastItemMargin="4, 0, 0, 0">
|
30 |
| - <Button HorizontalAlignment="Left" VerticalAlignment="Center" Padding="8">Sync</Button> |
| 34 | + <Button HorizontalAlignment="Left" VerticalAlignment="Center" Padding="6">Sync</Button> |
31 | 35 | <Grid>
|
32 | 36 | <Separator Background="LightGray" Margin="0, 14" Style="{StaticResource {x:Static ToolBar.SeparatorStyleKey}}" VerticalAlignment="Stretch"></Separator>
|
33 | 37 | </Grid>
|
34 |
| - <Button HorizontalAlignment="Left" VerticalAlignment="Center" Padding="8">Folders</Button> |
35 |
| - <Button HorizontalAlignment="Left" VerticalAlignment="Center" Padding="8">Sources</Button> |
| 38 | + <Button HorizontalAlignment="Left" VerticalAlignment="Center" Padding="6">Folders</Button> |
| 39 | + <Button HorizontalAlignment="Left" VerticalAlignment="Center" Padding="6">Sources</Button> |
36 | 40 | <Grid>
|
37 | 41 | <Separator Background="LightGray" Margin="0, 14" Style="{StaticResource {x:Static ToolBar.SeparatorStyleKey}}" VerticalAlignment="Stretch"></Separator>
|
38 | 42 | </Grid>
|
39 |
| - <Button Click="onSettingsClick" HorizontalAlignment="Left" VerticalAlignment="Center" Padding="8">Settings</Button> |
| 43 | + <Button Click="onSettingsClick" HorizontalAlignment="Left" VerticalAlignment="Center" Padding="6">Settings</Button> |
40 | 44 | </StackPanel>
|
41 | 45 | </Grid>
|
42 | 46 | <Grid Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2">
|
43 |
| - <ListBox></ListBox> |
44 |
| - </Grid> |
45 |
| - <Grid Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3"> |
46 |
| - <StatusBar> |
47 |
| - <StatusBarItem Content="status"/> |
48 |
| - </StatusBar> |
| 47 | + <Frame></Frame> |
49 | 48 | </Grid>
|
| 49 | + <Border Style="{StaticResource statusBarNav}" Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3"> |
| 50 | + <Grid> |
| 51 | + <StatusBar> |
| 52 | + <StatusBarItem Content="status"/> |
| 53 | + </StatusBar> |
| 54 | + </Grid> |
| 55 | + </Border> |
50 | 56 | <Grid Grid.Row="0" Grid.Column="2">
|
51 | 57 | <TextBox MaxLines="1" Height="24" Margin="8, 0" VerticalAlignment="Center" HorizontalAlignment="Stretch" Padding="4, 0" VerticalContentAlignment="Center" adorners:Watermark.Text="{StaticResource searchPlaceholder}"
|
52 | 58 | adorners:Watermark.TextStyle="{StaticResource TextboxPlaceholderStyle}"
|
|
0 commit comments