|
500 | 500 | Uri="{Binding LinkThemeGallery}" /> |
501 | 501 |
|
502 | 502 | <!-- Fixed size --> |
503 | | - <cc:CardGroup Margin="0 20 0 0"> |
504 | | - <cc:Card |
505 | | - Title="{DynamicResource KeepMaxResults}" |
506 | | - Icon="" |
507 | | - Sub="{DynamicResource KeepMaxResultsToolTip}"> |
508 | | - <ui:ToggleSwitch |
509 | | - IsOn="{Binding KeepMaxResults}" |
510 | | - OffContent="{DynamicResource disable}" |
511 | | - OnContent="{DynamicResource enable}" /> |
512 | | - </cc:Card> |
| 503 | + <cc:ExCard |
| 504 | + Title="{DynamicResource KeepMaxResults}" |
| 505 | + Margin="0 20 0 0" |
| 506 | + Icon="" |
| 507 | + Sub="{DynamicResource KeepMaxResultsToolTip}"> |
| 508 | + <cc:ExCard.SideContent> |
| 509 | + <StackPanel VerticalAlignment="Center" Orientation="Horizontal"> |
| 510 | + <ui:ToggleSwitch |
| 511 | + IsOn="{Binding KeepMaxResults}" |
| 512 | + OffContent="{DynamicResource disable}" |
| 513 | + OnContent="{DynamicResource enable}" /> |
| 514 | + </StackPanel> |
| 515 | + </cc:ExCard.SideContent> |
513 | 516 | <cc:Card |
514 | 517 | Title="{DynamicResource maxShowResults}" |
515 | | - Icon="" |
516 | 518 | Sub="{DynamicResource maxShowResultsToolTip}" |
517 | | - Visibility="{Binding KeepMaxResults, Converter={StaticResource BoolToVisibilityConverter}}"> |
| 519 | + Type="InsideFit"> |
518 | 520 | <ComboBox |
519 | 521 | Width="100" |
520 | 522 | ItemsSource="{Binding MaxResultsRange}" |
521 | 523 | SelectedItem="{Binding Settings.MaxResultsToShow}" /> |
522 | 524 | </cc:Card> |
523 | | - </cc:CardGroup> |
524 | | - |
525 | | - <!-- Fonts and icons --> |
526 | | - <cc:Card |
527 | | - Title="{DynamicResource useGlyphUI}" |
528 | | - Margin="0 14 0 0" |
529 | | - Icon="" |
530 | | - Sub="{DynamicResource useGlyphUIEffect}"> |
531 | | - <ui:ToggleSwitch |
532 | | - IsOn="{Binding UseGlyphIcons}" |
533 | | - OffContent="{DynamicResource disable}" |
534 | | - OnContent="{DynamicResource enable}" /> |
535 | | - </cc:Card> |
536 | | - |
537 | | - <!-- Placeholder text --> |
538 | | - <cc:CardGroup Margin="0 14 0 0"> |
539 | | - <cc:Card |
540 | | - Title="{DynamicResource ShowPlaceholder}" |
541 | | - Icon="" |
542 | | - Sub="{DynamicResource ShowPlaceholderTip}"> |
543 | | - <ui:ToggleSwitch |
544 | | - IsOn="{Binding ShowPlaceholder}" |
545 | | - OffContent="{DynamicResource disable}" |
546 | | - OnContent="{DynamicResource enable}" /> |
547 | | - </cc:Card> |
548 | | - |
549 | | - <cc:Card |
550 | | - Title="{DynamicResource PlaceholderText}" |
551 | | - Icon="" |
552 | | - Sub="{Binding PlaceholderTextTip}"> |
553 | | - <TextBox |
554 | | - MinWidth="150" |
555 | | - Text="{Binding PlaceholderText}" |
556 | | - TextWrapping="NoWrap" /> |
557 | | - </cc:Card> |
558 | | - </cc:CardGroup> |
| 525 | + </cc:ExCard> |
559 | 526 |
|
560 | 527 | <!-- Time and date --> |
561 | 528 | <cc:CardGroup Margin="0 14 0 0"> |
|
602 | 569 | </cc:Card> |
603 | 570 | </cc:CardGroup> |
604 | 571 |
|
605 | | - <!-- Animation --> |
606 | | - <cc:CardGroup Margin="0 14 0 0"> |
| 572 | + <!-- Placeholder text --> |
| 573 | + <cc:ExCard |
| 574 | + Title="{DynamicResource ShowPlaceholder}" |
| 575 | + Margin="0 4 0 0" |
| 576 | + Icon="" |
| 577 | + Sub="{DynamicResource ShowPlaceholderTip}"> |
| 578 | + <cc:ExCard.SideContent> |
| 579 | + <ui:ToggleSwitch |
| 580 | + IsOn="{Binding ShowPlaceholder}" |
| 581 | + OffContent="{DynamicResource disable}" |
| 582 | + OnContent="{DynamicResource enable}" /> |
| 583 | + </cc:ExCard.SideContent> |
607 | 584 | <cc:Card |
608 | | - Title="{DynamicResource Animation}" |
609 | | - Icon="" |
610 | | - Sub="{DynamicResource AnimationTip}"> |
| 585 | + Title="{DynamicResource PlaceholderText}" |
| 586 | + Sub="{Binding PlaceholderTextTip}" |
| 587 | + Type="InsideFit"> |
| 588 | + <TextBox |
| 589 | + MinWidth="150" |
| 590 | + Text="{Binding PlaceholderText}" |
| 591 | + TextWrapping="NoWrap" /> |
| 592 | + </cc:Card> |
| 593 | + </cc:ExCard> |
| 594 | + |
| 595 | + <!-- Animation --> |
| 596 | + <cc:ExCard |
| 597 | + Title="{DynamicResource Animation}" |
| 598 | + Margin="0 18 0 0" |
| 599 | + Icon="" |
| 600 | + Sub="{DynamicResource AnimationTip}"> |
| 601 | + <cc:ExCard.SideContent> |
611 | 602 | <ui:ToggleSwitch |
612 | 603 | IsOn="{Binding UseAnimation}" |
613 | 604 | OffContent="{DynamicResource disable}" |
614 | 605 | OnContent="{DynamicResource enable}" /> |
615 | | - </cc:Card> |
| 606 | + </cc:ExCard.SideContent> |
616 | 607 | <cc:Card |
617 | 608 | Title="{DynamicResource AnimationSpeed}" |
618 | | - Icon="" |
619 | 609 | Sub="{DynamicResource AnimationSpeedTip}" |
620 | | - Visibility="{Binding UseAnimation, Converter={StaticResource BoolToVisibilityConverter}}"> |
| 610 | + Type="InsideFit"> |
621 | 611 | <StackPanel Orientation="Horizontal"> |
622 | 612 | <ComboBox |
623 | 613 | MinWidth="160" |
|
637 | 627 | IsEqualTo={x:Static userSettings:AnimationSpeeds.Custom}}" /> |
638 | 628 | </StackPanel> |
639 | 629 | </cc:Card> |
640 | | - </cc:CardGroup> |
| 630 | + </cc:ExCard> |
641 | 631 |
|
642 | 632 | <!-- SFX --> |
643 | | - <cc:CardGroup Margin="0 14 0 0"> |
644 | | - <cc:Card |
645 | | - Title="{DynamicResource SoundEffect}" |
646 | | - Icon="" |
647 | | - Sub="{DynamicResource SoundEffectTip}"> |
| 633 | + <cc:ExCard |
| 634 | + Title="{DynamicResource SoundEffect}" |
| 635 | + Margin="0 4 0 0" |
| 636 | + Icon="" |
| 637 | + Sub="{DynamicResource SoundEffectTip}"> |
| 638 | + <cc:ExCard.SideContent> |
648 | 639 | <ui:ToggleSwitch |
649 | 640 | IsOn="{Binding UseSound}" |
650 | 641 | OffContent="{DynamicResource disable}" |
651 | 642 | OnContent="{DynamicResource enable}" /> |
652 | | - </cc:Card> |
| 643 | + </cc:ExCard.SideContent> |
653 | 644 | <cc:Card |
654 | 645 | Title="{DynamicResource SoundEffectVolume}" |
655 | | - Icon="" |
656 | 646 | IsEnabled="{Binding EnableVolumeAdjustment}" |
657 | 647 | Sub="{DynamicResource SoundEffectVolumeTip}" |
658 | | - Visibility="{Binding UseSound, Converter={StaticResource BoolToVisibilityConverter}}"> |
| 648 | + Type="InsideFit"> |
659 | 649 | <StackPanel Orientation="Horizontal"> |
660 | 650 | <TextBlock |
661 | 651 | Margin="0 0 8 0" |
|
672 | 662 | Value="{Binding SoundEffectVolume}" /> |
673 | 663 | </StackPanel> |
674 | 664 | </cc:Card> |
675 | | - </cc:CardGroup> |
| 665 | + </cc:ExCard> |
676 | 666 | <Border |
677 | 667 | Name="WMPWarning" |
678 | 668 | Padding="0 10" |
|
708 | 698 | </Grid> |
709 | 699 | </Border> |
710 | 700 |
|
| 701 | + |
| 702 | + <!-- Fonts and icons --> |
| 703 | + <cc:Card |
| 704 | + Title="{DynamicResource useGlyphUI}" |
| 705 | + Margin="0 0 0 0" |
| 706 | + Icon="" |
| 707 | + Sub="{DynamicResource useGlyphUIEffect}"> |
| 708 | + <ui:ToggleSwitch |
| 709 | + IsOn="{Binding UseGlyphIcons}" |
| 710 | + OffContent="{DynamicResource disable}" |
| 711 | + OnContent="{DynamicResource enable}" /> |
| 712 | + </cc:Card> |
711 | 713 | <!-- Settings color scheme --> |
712 | 714 | <cc:Card |
713 | 715 | Title="{DynamicResource ColorScheme}" |
|
0 commit comments