|
319 | 319 | <Setter Property="Padding" Value="0,0,0,0" />
|
320 | 320 | <Setter Property="Margin" Value="0,0,8,5" />
|
321 | 321 | <Setter Property="BorderBrush" Value="{DynamicResource Color03B}" />
|
322 |
| - <Setter Property="MinWidth" Value="330" /> |
323 |
| - <Setter Property="Height" Value="98" /> |
| 322 | + <Setter Property="MinWidth" Value="100" /> |
| 323 | + <Setter Property="Height" Value="Auto" /> |
324 | 324 | <!--#region Template for blue highlight win10-->
|
325 | 325 | <Setter Property="Template">
|
326 | 326 | <Setter.Value>
|
|
1304 | 1304 | Margin="0,0,6,18"
|
1305 | 1305 | HorizontalAlignment="Left"
|
1306 | 1306 | VerticalAlignment="Top"
|
1307 |
| - Columns="2" |
| 1307 | + Columns="3" |
1308 | 1308 | IsItemsHost="True"
|
1309 | 1309 | SnapsToDevicePixels="True" />
|
1310 | 1310 | </ItemsPanelTemplate>
|
|
1337 | 1337 | </ControlTemplate>
|
1338 | 1338 | </ToggleButton.Template>
|
1339 | 1339 |
|
1340 |
| - <Grid HorizontalAlignment="Left" VerticalAlignment="Stretch"> |
1341 |
| - <Grid.ColumnDefinitions> |
1342 |
| - <ColumnDefinition Width="72" /> |
1343 |
| - <ColumnDefinition Width="*" /> |
1344 |
| - </Grid.ColumnDefinitions> |
| 1340 | + <Grid |
| 1341 | + Height="160" |
| 1342 | + HorizontalAlignment="Left" |
| 1343 | + VerticalAlignment="Top"> |
| 1344 | + <Grid.RowDefinitions> |
| 1345 | + <RowDefinition Height="56" /> |
| 1346 | + <RowDefinition Height="*" /> |
| 1347 | + </Grid.RowDefinitions> |
1345 | 1348 | <StackPanel
|
| 1349 | + Grid.Row="0" |
| 1350 | + Grid.RowSpan="2" |
1346 | 1351 | Grid.Column="0"
|
| 1352 | + Grid.ColumnSpan="2" /> |
| 1353 | + |
| 1354 | + <StackPanel |
| 1355 | + Grid.Row="0" |
1347 | 1356 | Margin="0,0,0,0"
|
1348 |
| - VerticalAlignment="Center"> |
| 1357 | + VerticalAlignment="Top"> |
1349 | 1358 | <StackPanel.Style>
|
1350 | 1359 | <Style>
|
1351 | 1360 | <Setter Property="StackPanel.Visibility" Value="Visible" />
|
|
1359 | 1368 | <Image
|
1360 | 1369 | Width="32"
|
1361 | 1370 | Height="32"
|
1362 |
| - Margin="8,0,6,0" |
1363 |
| - VerticalAlignment="Center" |
| 1371 | + Margin="20,20,6,0" |
| 1372 | + HorizontalAlignment="Left" |
| 1373 | + VerticalAlignment="Top" |
1364 | 1374 | RenderOptions.BitmapScalingMode="HighQuality"
|
1365 | 1375 | Source="{Binding IcoPath, IsAsync=True}"
|
1366 | 1376 | Stretch="Uniform" />
|
1367 | 1377 | </StackPanel>
|
1368 | 1378 | <StackPanel
|
1369 |
| - Grid.Column="1" |
1370 |
| - Margin="0,0,8,0" |
1371 |
| - VerticalAlignment="Center" |
| 1379 | + Grid.Row="1" |
| 1380 | + Width="{Binding ActualWidth, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ListBoxItem}}}" |
| 1381 | + Margin="0,6,0,0" |
| 1382 | + VerticalAlignment="Top" |
1372 | 1383 | Panel.ZIndex="0">
|
1373 | 1384 | <StackPanel.Style>
|
1374 | 1385 | <Style>
|
|
1381 | 1392 | </Style>
|
1382 | 1393 | </StackPanel.Style>
|
1383 | 1394 | <TextBlock
|
1384 |
| - Padding="0,0,20,0" |
| 1395 | + Padding="20,0,20,0" |
| 1396 | + VerticalAlignment="Top" |
| 1397 | + FontWeight="SemiBold" |
1385 | 1398 | Foreground="{DynamicResource Color05B}"
|
1386 | 1399 | Text="{Binding Name}"
|
1387 | 1400 | TextWrapping="WrapWithOverflow"
|
1388 | 1401 | ToolTip="{Binding Version}" />
|
1389 | 1402 | <TextBlock
|
1390 |
| - Margin="0,2,0,0" |
1391 |
| - Padding="0,0,20,0" |
| 1403 | + Margin="0,6,0,0" |
| 1404 | + Padding="20,0,22,20" |
1392 | 1405 | Foreground="{DynamicResource Color04B}"
|
1393 | 1406 | TextWrapping="WrapWithOverflow">
|
1394 | 1407 | <Run
|
|
1399 | 1412 |
|
1400 | 1413 | </StackPanel>
|
1401 | 1414 | <StackPanel
|
| 1415 | + Grid.RowSpan="2" |
1402 | 1416 | Grid.Column="0"
|
1403 | 1417 | Grid.ColumnSpan="2"
|
1404 | 1418 | HorizontalAlignment="Stretch"
|
|
1416 | 1430 |
|
1417 | 1431 |
|
1418 | 1432 | <Grid
|
1419 |
| - Height="94" |
| 1433 | + Height="180" |
1420 | 1434 | HorizontalAlignment="Stretch"
|
1421 | 1435 | VerticalAlignment="Stretch"
|
1422 | 1436 | Panel.ZIndex="1">
|
|
1428 | 1442 | </Grid.ColumnDefinitions>
|
1429 | 1443 |
|
1430 | 1444 | <StackPanel
|
| 1445 | + Grid.Row="0" |
1431 | 1446 | Grid.Column="0"
|
1432 | 1447 | HorizontalAlignment="Stretch"
|
1433 |
| - VerticalAlignment="Center"> |
1434 |
| - <StackPanel Orientation="Horizontal"> |
| 1448 | + VerticalAlignment="Top"> |
| 1449 | + <StackPanel Orientation="Vertical"> |
1435 | 1450 | <TextBlock
|
1436 |
| - Margin="20,0,0,0" |
| 1451 | + Margin="20,20,0,0" |
1437 | 1452 | Padding="0,0,0,0"
|
1438 | 1453 | FontWeight="Bold"
|
1439 | 1454 | Foreground="{DynamicResource Color05B}"
|
1440 | 1455 | Text="{Binding Name}"
|
1441 | 1456 | TextWrapping="WrapWithOverflow"
|
1442 | 1457 | ToolTip="{Binding Name}" />
|
1443 | 1458 | <TextBlock
|
1444 |
| - Margin="10,0,0,0" |
| 1459 | + Margin="20,4,0,0" |
1445 | 1460 | Padding="0,0,20,0"
|
1446 | 1461 | Foreground="{DynamicResource Color05B}"
|
1447 | 1462 | Text="{Binding Version}"
|
1448 | 1463 | TextWrapping="WrapWithOverflow"
|
1449 | 1464 | ToolTip="{Binding Version}" />
|
1450 | 1465 | </StackPanel>
|
1451 |
| - <StackPanel Margin="20,2,120,0" Orientation="Vertical"> |
| 1466 | + <StackPanel Margin="20,6,20,0" Orientation="Vertical"> |
1452 | 1467 | <TextBlock Padding="0,0,0,0" TextWrapping="Wrap">
|
1453 | 1468 | <Hyperlink
|
1454 | 1469 | Foreground="{DynamicResource Color04B}"
|
|
1459 | 1474 | </TextBlock>
|
1460 | 1475 | </StackPanel>
|
1461 | 1476 | </StackPanel>
|
1462 |
| - <Border Padding="0,0,20,0"> |
| 1477 | + <Border |
| 1478 | + Grid.Row="0" |
| 1479 | + Grid.Column="1" |
| 1480 | + Padding="0,0,0,0"> |
1463 | 1481 | <Button
|
1464 | 1482 | Name="ShortCutButtonPrev"
|
1465 |
| - Grid.Column="1" |
1466 | 1483 | MinHeight="40"
|
1467 |
| - Margin="0,0,0,0" |
| 1484 | + Margin="0,70,20,0" |
1468 | 1485 | Padding="15,5,15,5"
|
1469 | 1486 | HorizontalAlignment="Right"
|
1470 | 1487 | VerticalAlignment="Center"
|
|
0 commit comments