|
321 | 321 | <Setter Property="Padding" Value="0,0,0,0" />
|
322 | 322 | <Setter Property="Margin" Value="0,0,8,5" />
|
323 | 323 | <Setter Property="BorderBrush" Value="{DynamicResource Color03B}" />
|
324 |
| - <Setter Property="MinWidth" Value="330" /> |
325 |
| - <Setter Property="Height" Value="98" /> |
| 324 | + <Setter Property="MinWidth" Value="100" /> |
| 325 | + <Setter Property="Height" Value="Auto" /> |
326 | 326 | <!--#region Template for blue highlight win10-->
|
327 | 327 | <Setter Property="Template">
|
328 | 328 | <Setter.Value>
|
|
1400 | 1400 | Margin="0,0,6,18"
|
1401 | 1401 | HorizontalAlignment="Left"
|
1402 | 1402 | VerticalAlignment="Top"
|
1403 |
| - Columns="2" |
| 1403 | + Columns="3" |
1404 | 1404 | IsItemsHost="True"
|
1405 | 1405 | SnapsToDevicePixels="True" />
|
1406 | 1406 | </ItemsPanelTemplate>
|
|
1433 | 1433 | </ControlTemplate>
|
1434 | 1434 | </ToggleButton.Template>
|
1435 | 1435 |
|
1436 |
| - <Grid HorizontalAlignment="Left" VerticalAlignment="Stretch"> |
1437 |
| - <Grid.ColumnDefinitions> |
1438 |
| - <ColumnDefinition Width="72" /> |
1439 |
| - <ColumnDefinition Width="*" /> |
1440 |
| - </Grid.ColumnDefinitions> |
| 1436 | + <Grid |
| 1437 | + Height="160" |
| 1438 | + HorizontalAlignment="Left" |
| 1439 | + VerticalAlignment="Top"> |
| 1440 | + <Grid.RowDefinitions> |
| 1441 | + <RowDefinition Height="56" /> |
| 1442 | + <RowDefinition Height="*" /> |
| 1443 | + </Grid.RowDefinitions> |
1441 | 1444 | <StackPanel
|
| 1445 | + Grid.Row="0" |
| 1446 | + Grid.RowSpan="2" |
1442 | 1447 | Grid.Column="0"
|
| 1448 | + Grid.ColumnSpan="2" |
| 1449 | + HorizontalAlignment="Right" |
| 1450 | + Orientation="Horizontal"> |
| 1451 | + <Image |
| 1452 | + Width="32" |
| 1453 | + Height="32" |
| 1454 | + Margin="0,0,8,0" |
| 1455 | + HorizontalAlignment="Right" |
| 1456 | + VerticalAlignment="Top" |
| 1457 | + RenderOptions.BitmapScalingMode="HighQuality" |
| 1458 | + Source="/Images/new.png" |
| 1459 | + Stretch="Uniform" /> |
| 1460 | + <Image |
| 1461 | + Width="28" |
| 1462 | + Height="28" |
| 1463 | + Margin="0,-2,8,0" |
| 1464 | + HorizontalAlignment="Right" |
| 1465 | + VerticalAlignment="Top" |
| 1466 | + RenderOptions.BitmapScalingMode="HighQuality" |
| 1467 | + Source="/Images/installed.png" |
| 1468 | + Stretch="Uniform" |
| 1469 | + Visibility="Visible" /> |
| 1470 | + </StackPanel> |
| 1471 | + |
| 1472 | + <StackPanel |
| 1473 | + Grid.Row="0" |
1443 | 1474 | Margin="0,0,0,0"
|
1444 |
| - VerticalAlignment="Center"> |
| 1475 | + VerticalAlignment="Top"> |
1445 | 1476 | <StackPanel.Style>
|
1446 | 1477 | <Style>
|
1447 | 1478 | <Setter Property="StackPanel.Visibility" Value="Visible" />
|
|
1455 | 1486 | <Image
|
1456 | 1487 | Width="32"
|
1457 | 1488 | Height="32"
|
1458 |
| - Margin="8,0,6,0" |
1459 |
| - VerticalAlignment="Center" |
| 1489 | + Margin="20,20,6,0" |
| 1490 | + HorizontalAlignment="Left" |
| 1491 | + VerticalAlignment="Top" |
1460 | 1492 | RenderOptions.BitmapScalingMode="HighQuality"
|
1461 | 1493 | Source="{Binding IcoPath, IsAsync=True}"
|
1462 | 1494 | Stretch="Uniform" />
|
1463 | 1495 | </StackPanel>
|
1464 | 1496 | <StackPanel
|
1465 |
| - Grid.Column="1" |
1466 |
| - Margin="0,0,8,0" |
1467 |
| - VerticalAlignment="Center" |
| 1497 | + Grid.Row="1" |
| 1498 | + Width="{Binding ActualWidth, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ListBoxItem}}}" |
| 1499 | + Margin="0,6,0,0" |
| 1500 | + VerticalAlignment="Top" |
1468 | 1501 | Panel.ZIndex="0">
|
1469 | 1502 | <StackPanel.Style>
|
1470 | 1503 | <Style>
|
|
1477 | 1510 | </Style>
|
1478 | 1511 | </StackPanel.Style>
|
1479 | 1512 | <TextBlock
|
1480 |
| - Padding="0,0,20,0" |
| 1513 | + Padding="20,0,20,0" |
| 1514 | + VerticalAlignment="Top" |
| 1515 | + FontWeight="SemiBold" |
1481 | 1516 | Foreground="{DynamicResource Color05B}"
|
1482 | 1517 | Text="{Binding Name}"
|
1483 | 1518 | TextWrapping="WrapWithOverflow"
|
1484 | 1519 | ToolTip="{Binding Version}" />
|
1485 | 1520 | <TextBlock
|
1486 |
| - Margin="0,2,0,0" |
1487 |
| - Padding="0,0,20,0" |
| 1521 | + Margin="0,6,0,0" |
| 1522 | + Padding="20,0,22,20" |
1488 | 1523 | Foreground="{DynamicResource Color04B}"
|
1489 | 1524 | TextWrapping="WrapWithOverflow">
|
1490 | 1525 | <Run
|
|
1495 | 1530 |
|
1496 | 1531 | </StackPanel>
|
1497 | 1532 | <StackPanel
|
| 1533 | + Grid.RowSpan="2" |
1498 | 1534 | Grid.Column="0"
|
1499 | 1535 | Grid.ColumnSpan="2"
|
1500 | 1536 | HorizontalAlignment="Stretch"
|
|
1512 | 1548 |
|
1513 | 1549 |
|
1514 | 1550 | <Grid
|
1515 |
| - Height="94" |
| 1551 | + Height="180" |
1516 | 1552 | HorizontalAlignment="Stretch"
|
1517 | 1553 | VerticalAlignment="Stretch"
|
1518 | 1554 | Panel.ZIndex="1">
|
|
1524 | 1560 | </Grid.ColumnDefinitions>
|
1525 | 1561 |
|
1526 | 1562 | <StackPanel
|
| 1563 | + Grid.Row="0" |
1527 | 1564 | Grid.Column="0"
|
1528 | 1565 | HorizontalAlignment="Stretch"
|
1529 |
| - VerticalAlignment="Center"> |
1530 |
| - <StackPanel Orientation="Horizontal"> |
| 1566 | + VerticalAlignment="Top"> |
| 1567 | + <StackPanel Orientation="Vertical"> |
1531 | 1568 | <TextBlock
|
1532 |
| - Margin="20,0,0,0" |
| 1569 | + Margin="20,20,0,0" |
1533 | 1570 | Padding="0,0,0,0"
|
1534 | 1571 | FontWeight="Bold"
|
1535 | 1572 | Foreground="{DynamicResource Color05B}"
|
1536 | 1573 | Text="{Binding Name}"
|
1537 | 1574 | TextWrapping="WrapWithOverflow"
|
1538 | 1575 | ToolTip="{Binding Name}" />
|
1539 | 1576 | <TextBlock
|
1540 |
| - Margin="10,0,0,0" |
| 1577 | + Margin="20,4,0,0" |
1541 | 1578 | Padding="0,0,20,0"
|
1542 | 1579 | Foreground="{DynamicResource Color05B}"
|
1543 | 1580 | Text="{Binding Version}"
|
1544 | 1581 | TextWrapping="WrapWithOverflow"
|
1545 | 1582 | ToolTip="{Binding Version}" />
|
1546 | 1583 | </StackPanel>
|
1547 |
| - <StackPanel Margin="20,2,120,0" Orientation="Vertical"> |
| 1584 | + <StackPanel Margin="20,6,20,0" Orientation="Vertical"> |
1548 | 1585 | <TextBlock Padding="0,0,0,0" TextWrapping="Wrap">
|
1549 | 1586 | <Hyperlink
|
1550 | 1587 | Foreground="{DynamicResource Color04B}"
|
|
1555 | 1592 | </TextBlock>
|
1556 | 1593 | </StackPanel>
|
1557 | 1594 | </StackPanel>
|
1558 |
| - <Border Padding="0,0,20,0"> |
| 1595 | + <Border |
| 1596 | + Grid.Row="0" |
| 1597 | + Grid.Column="1" |
| 1598 | + Padding="0,0,0,0"> |
1559 | 1599 | <Button
|
1560 | 1600 | Name="ShortCutButtonPrev"
|
1561 |
| - Grid.Column="1" |
1562 | 1601 | MinHeight="40"
|
1563 |
| - Margin="0,0,0,0" |
| 1602 | + Margin="0,70,20,0" |
1564 | 1603 | Padding="15,5,15,5"
|
1565 | 1604 | HorizontalAlignment="Right"
|
1566 | 1605 | VerticalAlignment="Center"
|
|
0 commit comments