Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 49ff791

Browse files
committed
Finish stubbing forks
1 parent 6417fc1 commit 49ff791

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

src/GitHub.VisualStudio/Views/Dialog/ForkRepositorySelectView.xaml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<RowDefinition Height="Auto"/>
3131
</Grid.RowDefinitions>
3232

33-
<DockPanel Grid.Row="0">
33+
<StackPanel Grid.Row="0">
3434
<TextBlock DockPanel.Dock="Top" FontSize="16" Margin="0 8">
3535
Where should we fork this repository?
3636
</TextBlock>
@@ -44,24 +44,26 @@
4444
<!-- ItemsSource="{Binding Accounts}" -->
4545
<ListBox Name="accountsListBox"
4646
BorderThickness="0"
47+
HorizontalContentAlignment="Stretch"
4748
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
4849
SelectionChanged="accountsListBox_SelectionChanged">
49-
<ListBoxItem>
50-
<Border Background="LightGreen">
50+
<ListBoxItem Margin="4">
51+
<Border Background="#fff2f2f2" CornerRadius="3">
5152
<DockPanel HorizontalAlignment="Stretch" Margin="4">
52-
<TextBlock DockPanel.Dock="Bottom"
53-
Text="@donokuda"
54-
TextAlignment="Center"
55-
TextTrimming="CharacterEllipsis"/>
56-
<Image
57-
MaxWidth="100"
58-
Source="https://s3.amazonaws.com/uifaces/faces/twitter/zeldman/128.jpg" />
59-
</DockPanel>
60-
</Border>
61-
</ListBoxItem>
53+
<TextBlock DockPanel.Dock="Bottom"
54+
Text="@donokuda"
55+
TextAlignment="Center"
56+
TextTrimming="CharacterEllipsis"/>
57+
<Image
58+
Margin="4"
59+
MaxWidth="100"
60+
Source="https://s3.amazonaws.com/uifaces/faces/twitter/zeldman/128.jpg" />
61+
</DockPanel>
62+
</Border>
63+
</ListBoxItem>
6264
<ListBox.ItemsPanel>
6365
<ItemsPanelTemplate>
64-
<UniformGrid Columns="3" Background="Red" IsItemsHost="True">
66+
<UniformGrid Columns="3" IsItemsHost="True">
6567
</UniformGrid>
6668
</ItemsPanelTemplate>
6769
</ListBox.ItemsPanel>
@@ -83,7 +85,7 @@
8385
</ListBox.ItemTemplate>
8486
-->
8587
</ListBox>
86-
</DockPanel>
88+
</StackPanel>
8789

8890
<DockPanel Grid.Row="1" Visibility="{Binding ExistingForks, Converter={ui:HasItemsVisibilityConverter}}">
8991
<TextBlock DockPanel.Dock="Top" Margin="0 8">

0 commit comments

Comments
 (0)