|
48 | 48 | </MenuFlyout>
|
49 | 49 | </reactiveUi:ReactiveUserControl.Resources>
|
50 | 50 |
|
51 |
| - <StackPanel x:Name="Body"> |
52 |
| - |
| 51 | + <DockPanel x:Name="Body"> |
| 52 | + |
53 | 53 | <!-- first row (header) -->
|
54 |
| - <Border x:Name="HeaderBorderBackground"> |
| 54 | + <Border x:Name="HeaderBorderBackground" DockPanel.Dock="Top"> |
55 | 55 | <Border x:Name="HeaderBorder">
|
56 |
| - |
| 56 | + |
57 | 57 | <StackPanel x:Name="Header">
|
58 |
| - |
| 58 | + |
59 | 59 | <!-- first header row (image and metadata) -->
|
60 | 60 | <Border x:Name="MainContentBorder">
|
61 |
| - <Grid x:Name="MainContent" ColumnDefinitions="Auto, *" > |
62 |
| - |
| 61 | + <Grid x:Name="MainContent" ColumnDefinitions="Auto, *"> |
| 62 | + |
63 | 63 | <!-- left column (image) -->
|
64 | 64 | <Border Grid.Column="0" x:Name="CollectionImageBorder">
|
65 | 65 | <Image x:Name="CollectionImage" />
|
66 | 66 | </Border>
|
67 | 67 |
|
68 | 68 | <!-- right column (metadata) -->
|
69 |
| - <Grid Grid.Column="1" x:Name="CollectionDetails" RowDefinitions="Auto,Auto,Auto,*" ColumnDefinitions="Auto"> |
| 69 | + <Grid Grid.Column="1" x:Name="CollectionDetails" RowDefinitions="Auto,Auto,Auto,*" |
| 70 | + ColumnDefinitions="Auto"> |
70 | 71 | <TextBlock Grid.Row="0" x:Name="Title">COLLECTION DOWNLOAD</TextBlock>
|
71 |
| - <TextBlock Grid.Row="1" x:Name="Heading" /> |
72 |
| - <Border Grid.Row="2" x:Name="TagsPanelBorder"> |
| 72 | + <TextBlock Grid.Row="1" x:Name="Heading" /> |
| 73 | + <Border Grid.Row="2" x:Name="TagsPanelBorder"> |
73 | 74 | <StackPanel x:Name="TagsPanel">
|
74 | 75 | <TextBlock x:Name="Revision" />
|
75 | 76 | <StackPanel x:Name="AuthorStackPanel">
|
|
80 | 81 | </StackPanel>
|
81 | 82 | </StackPanel>
|
82 | 83 | </Border>
|
83 |
| - <TextBlock Grid.Row="3" x:Name="Summary" /> |
| 84 | + <TextBlock Grid.Row="3" x:Name="Summary" /> |
84 | 85 | </Grid>
|
85 | 86 |
|
86 | 87 | </Grid>
|
|
106 | 107 | <TextBlock x:Name="TotalSize" />
|
107 | 108 | </StackPanel>
|
108 | 109 | <StackPanel x:Name="OverallRatingPanel">
|
109 |
| - <icons:UnifiedIcon x:Name="OverallRatingIcon" Value="{x:Static icons:IconValues.CheckCircle}" /> |
| 110 | + <icons:UnifiedIcon x:Name="OverallRatingIcon" |
| 111 | + Value="{x:Static icons:IconValues.CheckCircle}" /> |
110 | 112 | <TextBlock x:Name="OverallRating" />
|
111 | 113 | </StackPanel>
|
112 | 114 | </StackPanel>
|
|
116 | 118 | </Border>
|
117 | 119 |
|
118 | 120 | <!-- second row (buttons) -->
|
119 |
| - <Border x:Name="ListHeaderRowBorder"> |
| 121 | + <Border x:Name="ListHeaderRowBorder" DockPanel.Dock="Top"> |
120 | 122 | <panels:FlexPanel x:Name="ListHeaderRow">
|
121 |
| - <TextBlock x:Name="CollectionStatusText"/> |
| 123 | + <TextBlock x:Name="CollectionStatusText" /> |
122 | 124 | <controls:StandardButton x:Name="InstallButton" Text="Install" />
|
123 |
| - <controls:StandardButton x:Name="DownloadAllButton" Text="Download All"/> |
124 |
| - <controls:StandardButton x:Name="FlyoutMenuButton" Flyout="{StaticResource CollectionMenuFlyout}" Text="..."/> |
| 125 | + <controls:StandardButton x:Name="DownloadAllButton" Text="Download All" /> |
| 126 | + <controls:StandardButton x:Name="FlyoutMenuButton" Flyout="{StaticResource CollectionMenuFlyout}" |
| 127 | + Text="..." /> |
125 | 128 | </panels:FlexPanel>
|
126 | 129 | </Border>
|
127 | 130 |
|
|
136 | 139 | </Border>
|
137 | 140 | </StackPanel>
|
138 | 141 | </TabItem.Header>
|
139 |
| - |
140 | 142 | <TreeDataGrid x:Name="RequiredDownloadsTree" />
|
141 | 143 | </TabItem>
|
142 | 144 | <TabItem x:Name="OptionalTab">
|
|
151 | 153 | <TreeDataGrid x:Name="OptionalDownloadsTree" />
|
152 | 154 | </TabItem>
|
153 | 155 | </TabControl>
|
154 |
| - |
155 |
| - </StackPanel> |
| 156 | + </DockPanel> |
156 | 157 |
|
157 | 158 | </reactiveUi:ReactiveUserControl>
|
0 commit comments