|
440 | 440 | VerticalAlignment="Center"
|
441 | 441 | FontSize="12"
|
442 | 442 | Foreground="{StaticResource Color05B}"
|
443 |
| - Text="{DynamicResource flowlauncher_settings}"> |
444 |
| - <TextBlock.Style> |
445 |
| - <Style TargetType="TextBlock"> |
446 |
| - <Style.Triggers> |
447 |
| - <DataTrigger Binding="{Binding IsActive, RelativeSource={RelativeSource AncestorType=Window}}" Value="False"> |
448 |
| - <Setter Property="Foreground" Value="{StaticResource Color07B}" /> |
449 |
| - <!-- Not work. check --> |
450 |
| - </DataTrigger> |
451 |
| - </Style.Triggers> |
452 |
| - </Style> |
453 |
| - </TextBlock.Style> |
454 |
| - </TextBlock> |
| 443 | + Text="{DynamicResource flowlauncher_settings}" /> |
455 | 444 |
|
456 | 445 | <Button
|
457 | 446 | Grid.Column="2"
|
|
463 | 452 | Height="32"
|
464 | 453 | Data="M 18,15 H 28"
|
465 | 454 | Stroke="{Binding Path=Foreground, RelativeSource={RelativeSource AncestorType={x:Type Button}}}"
|
466 |
| - StrokeThickness="1" /> |
| 455 | + StrokeThickness="1"> |
| 456 | + <Path.Style> |
| 457 | + <Style TargetType="Path"> |
| 458 | + <Style.Triggers> |
| 459 | + <DataTrigger Binding="{Binding Path=IsActive, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}" Value="False"> |
| 460 | + <Setter Property="Opacity" Value="0.5" /> |
| 461 | + </DataTrigger> |
| 462 | + </Style.Triggers> |
| 463 | + </Style> |
| 464 | + </Path.Style> |
| 465 | + </Path> |
467 | 466 | </Button>
|
468 | 467 | <Button
|
469 | 468 | Name="maximizeButton"
|
|
475 | 474 | Height="32"
|
476 | 475 | Data="M 18.5,10.5 H 27.5 V 19.5 H 18.5 Z"
|
477 | 476 | Stroke="{Binding Path=Foreground, RelativeSource={RelativeSource AncestorType={x:Type Button}}}"
|
478 |
| - StrokeThickness="1" /> |
| 477 | + StrokeThickness="1"> |
| 478 | + <Path.Style> |
| 479 | + <Style TargetType="Path"> |
| 480 | + <Style.Triggers> |
| 481 | + <DataTrigger Binding="{Binding Path=IsActive, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}" Value="False"> |
| 482 | + <Setter Property="Opacity" Value="0.5" /> |
| 483 | + </DataTrigger> |
| 484 | + </Style.Triggers> |
| 485 | + </Style> |
| 486 | + </Path.Style> |
| 487 | + </Path> |
479 | 488 | </Button>
|
480 | 489 | <Button
|
481 | 490 | Name="restoreButton"
|
|
487 | 496 | Height="32"
|
488 | 497 | Data="M 18.5,12.5 H 25.5 V 19.5 H 18.5 Z M 20.5,12.5 V 10.5 H 27.5 V 17.5 H 25.5"
|
489 | 498 | Stroke="{Binding Path=Foreground, RelativeSource={RelativeSource AncestorType={x:Type Button}}}"
|
490 |
| - StrokeThickness="1" /> |
| 499 | + StrokeThickness="1"> |
| 500 | + <Path.Style> |
| 501 | + <Style TargetType="Path"> |
| 502 | + <Style.Triggers> |
| 503 | + <DataTrigger Binding="{Binding Path=IsActive, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}" Value="False"> |
| 504 | + <Setter Property="Opacity" Value="0.5" /> |
| 505 | + </DataTrigger> |
| 506 | + </Style.Triggers> |
| 507 | + </Style> |
| 508 | + </Path.Style> |
| 509 | + </Path> |
491 | 510 | </Button>
|
492 | 511 | <Button
|
493 | 512 | Grid.Column="4"
|
|
498 | 517 | Height="32"
|
499 | 518 | Data="M 18,11 27,20 M 18,20 27,11"
|
500 | 519 | Stroke="{Binding Path=Foreground, RelativeSource={RelativeSource AncestorType={x:Type Button}}}"
|
501 |
| - StrokeThickness="1" /> |
| 520 | + StrokeThickness="1"> |
| 521 | + <Path.Style> |
| 522 | + <Style TargetType="Path"> |
| 523 | + <Style.Triggers> |
| 524 | + <DataTrigger Binding="{Binding Path=IsActive, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}" Value="False"> |
| 525 | + <Setter Property="Opacity" Value="0.5" /> |
| 526 | + </DataTrigger> |
| 527 | + </Style.Triggers> |
| 528 | + </Style> |
| 529 | + </Path.Style> |
| 530 | + </Path> |
502 | 531 | </Button>
|
503 | 532 |
|
504 | 533 | <TabControl
|
|
0 commit comments