This repository was archived by the owner on Jun 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed
src/GitHub.VisualStudio/Views/Dialog Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change 4343
4444 <ListBox Name =" accountsListBox"
4545 ItemsSource =" {Binding Accounts}"
46- Padding = " 8 "
46+ BorderThickness = " 0 "
4747 ScrollViewer.HorizontalScrollBarVisibility=" Disabled"
4848 SelectionChanged =" accountsListBox_SelectionChanged" >
4949 <ListBox .ItemsPanel>
5050 <ItemsPanelTemplate >
51- <WrapPanel IsItemsHost =" True" />
51+ <UniformGrid Columns = " 3 " Background = " Red " HorizontalAlignment = " Stretch " IsItemsHost =" True" />
5252 </ItemsPanelTemplate >
5353 </ListBox .ItemsPanel>
5454 <ListBox .ItemTemplate>
55- <DataTemplate >
56- <DockPanel Width =" 100" >
57- <TextBlock DockPanel.Dock=" Bottom"
58- Text =" {Binding Login, StringFormat=@{0}}"
59- TextAlignment =" Center"
60- TextTrimming =" CharacterEllipsis" />
61- <Image Margin =" 0,4"
62- Source =" {Binding Avatar}"
63- Width =" 32" />
64- </DockPanel >
55+ <DataTemplate >
56+ <Border Background =" LightGreen" Padding =" 4" >
57+ <DockPanel >
58+ <TextBlock DockPanel.Dock=" Bottom"
59+ Text =" {Binding Login, StringFormat=@{0}}"
60+ TextAlignment =" Center"
61+ TextTrimming =" CharacterEllipsis" />
62+ <Image Margin =" 0,4"
63+ MaxWidth =" 100"
64+ Source =" {Binding Avatar}" />
65+ </DockPanel >
66+ </Border >
6567 </DataTemplate >
6668 </ListBox .ItemTemplate>
6769 </ListBox >
You can’t perform that action at this time.
0 commit comments