|
23 | 23 | <sampleData:ForkRepositorySelectViewModelDesigner IsLoading="True"/> |
24 | 24 | </d:DesignProperties.DataContext> |
25 | 25 |
|
26 | | - <Grid Margin="0 8"> |
27 | | - <Grid.RowDefinitions> |
28 | | - <RowDefinition Height="Auto"/> |
29 | | - <RowDefinition Height="Auto"/> |
30 | | - <RowDefinition Height="*"/> |
31 | | - <RowDefinition Height="Auto"/> |
32 | | - </Grid.RowDefinitions> |
33 | | - |
34 | | - <TextBlock Grid.Row="0" FontSize="16" Margin="8"> |
| 26 | + <DockPanel Margin="0 8"> |
| 27 | + <TextBlock FontSize="16" Margin="8" DockPanel.Dock="Top"> |
35 | 28 | Where should we fork this repository? |
36 | 29 | </TextBlock> |
37 | 30 |
|
38 | | - <ui:GitHubProgressBar Grid.Row="1" |
| 31 | + <ui:GitHubProgressBar DockPanel.Dock="Top" |
39 | 32 | Foreground="{DynamicResource GitHubAccentBrush}" |
40 | 33 | IsIndeterminate="True" |
41 | 34 | Style="{DynamicResource GitHubProgressBar}" |
42 | 35 | Visibility="{Binding IsLoading, Converter={ui:BooleanToHiddenVisibilityConverter}}"/> |
43 | 36 |
|
44 | 37 | <ListBox Name="accountsListBox" |
45 | | - Grid.Row="2" |
46 | 38 | BorderThickness="0" |
47 | 39 | ItemsSource="{Binding Accounts}" |
48 | 40 | VerticalContentAlignment="Top" |
|
76 | 68 | </ListBox.ItemTemplate> |
77 | 69 | </ListBox> |
78 | 70 |
|
79 | | - <DockPanel Grid.Row="3" |
80 | | - Margin="0 16 0 0" |
| 71 | + <DockPanel Margin="0 16 0 0" |
| 72 | + DockPanel.Dock="Bottom" |
81 | 73 | Visibility="{Binding ExistingForks, Converter={ui:HasItemsVisibilityConverter}}"> |
82 | 74 | <TextBlock DockPanel.Dock="Top" Margin="8 0"> |
83 | 75 | <Run FontWeight="SemiBold">Can't find what you're looking for?</Run> |
|
98 | 90 | </ItemsControl.ItemTemplate> |
99 | 91 | </ItemsControl> |
100 | 92 | </DockPanel> |
101 | | - </Grid> |
| 93 | + </DockPanel> |
102 | 94 | </UserControl> |
0 commit comments