|
321 | 321 | <DataTemplate DataType="vm:PackageRow"> |
322 | 322 | <Border Classes="glass interactive" Classes.edited="{Binding IsChanged}" Padding="16" Margin="6" Width="234" Cursor="Hand" Tapped="OnRowTapped" |
323 | 323 | ToolTip.Tip="{loc:Tr packages.tooltip.viewDetails}"> |
324 | | - <StackPanel Spacing="10"> |
325 | | - <StackPanel Orientation="Horizontal" Spacing="10"> |
| 324 | + <Grid RowDefinitions="Auto,Auto,*,Auto"> |
| 325 | + <StackPanel Grid.Row="0" Orientation="Horizontal" Spacing="10" Margin="0,0,0,10"> |
326 | 326 | <Border Width="40" Height="40" CornerRadius="11" Background="{StaticResource BasisBrandGradient}"> |
327 | 327 | <TextBlock Text="{Binding TileGlyph}" FontSize="19" FontWeight="Bold" Foreground="#FFFFFF" |
328 | 328 | HorizontalAlignment="Center" VerticalAlignment="Center"/> |
|
350 | 350 | </Border> |
351 | 351 | </StackPanel> |
352 | 352 | </StackPanel> |
353 | | - <TextBlock Text="{Binding Description}" Classes="muted" FontSize="11" TextWrapping="Wrap" |
354 | | - MaxLines="3" TextTrimming="CharacterEllipsis" Height="50"/> |
355 | | - <WrapPanel> |
| 353 | + <TextBlock Grid.Row="1" Text="{Binding Description}" Classes="muted" FontSize="11" TextWrapping="Wrap" |
| 354 | + MaxLines="3" TextTrimming="CharacterEllipsis" Height="50" Margin="0,0,0,10"/> |
| 355 | + <WrapPanel Grid.Row="2" VerticalAlignment="Top"> |
356 | 356 | <WrapPanel.Styles> |
357 | 357 | <Style Selector="WrapPanel > Border, WrapPanel > Button"> |
358 | 358 | <Setter Property="Margin" Value="0,0,6,4"/> |
|
383 | 383 | <PathIcon Width="14" Height="14" Data="{StaticResource IconOpenExternal}"/> |
384 | 384 | </Button> |
385 | 385 | </WrapPanel> |
386 | | - <ContentControl Content="{Binding}" ContentTemplate="{StaticResource PackageActions}"/> |
387 | | - </StackPanel> |
| 386 | + <ContentControl Grid.Row="3" Margin="0,10,0,0" Content="{Binding}" ContentTemplate="{StaticResource PackageActions}"/> |
| 387 | + </Grid> |
388 | 388 | </Border> |
389 | 389 | </DataTemplate> |
390 | 390 | </ItemsControl.ItemTemplate> |
|
0 commit comments