|
41 | 41 | </StatusBarItem> |
42 | 42 | <StatusBarItem Grid.Column="1"> |
43 | 43 | <StackPanel Orientation="Horizontal"> |
44 | | - <TextBlock Text="Mode:" VerticalAlignment="Center" Margin="8,0,4,0" FontSize="11" Opacity="0.7"/> |
45 | | - <RadioButton x:Name="WizardRadio" Content="Simple" VerticalAlignment="Center" Margin="0,0,6,0" FontSize="11" |
46 | | - GroupName="ViewMode" Checked="WizardRadio_Checked"/> |
47 | | - <RadioButton x:Name="ClassicRadio" Content="Classic" VerticalAlignment="Center" Margin="0,0,8,0" FontSize="11" |
48 | | - GroupName="ViewMode" Checked="ClassicRadio_Checked"/> |
49 | | - <Border Width="1" Background="{DynamicResource SystemControlForegroundBaseMediumLowBrush}" Margin="2,2,6,2"/> |
| 44 | + <!-- Segmented mode toggle --> |
| 45 | + <Border CornerRadius="4" BorderThickness="1" Margin="8,0,0,0" |
| 46 | + BorderBrush="{DynamicResource SystemControlForegroundBaseMediumLowBrush}" |
| 47 | + Background="{DynamicResource SystemControlBackgroundListLowBrush}"> |
| 48 | + <StackPanel Orientation="Horizontal"> |
| 49 | + <ToggleButton x:Name="WizardToggle" Content="Simple" FontSize="11" Padding="8,2" |
| 50 | + Click="WizardToggle_Click" BorderThickness="0" |
| 51 | + ToolTip="Guided wizard mode"> |
| 52 | + <ToggleButton.Style> |
| 53 | + <Style TargetType="ToggleButton" BasedOn="{StaticResource {x:Type ToggleButton}}"> |
| 54 | + <Setter Property="Background" Value="Transparent"/> |
| 55 | + <Setter Property="Opacity" Value="0.6"/> |
| 56 | + <Style.Triggers> |
| 57 | + <Trigger Property="IsChecked" Value="True"> |
| 58 | + <Setter Property="Background" Value="{DynamicResource SystemControlHighlightListAccentLowBrush}"/> |
| 59 | + <Setter Property="Opacity" Value="1"/> |
| 60 | + </Trigger> |
| 61 | + </Style.Triggers> |
| 62 | + </Style> |
| 63 | + </ToggleButton.Style> |
| 64 | + </ToggleButton> |
| 65 | + <ToggleButton x:Name="ClassicToggle" Content="Classic" FontSize="11" Padding="8,2" |
| 66 | + Click="ClassicToggle_Click" BorderThickness="0" |
| 67 | + ToolTip="All-in-one classic mode"> |
| 68 | + <ToggleButton.Style> |
| 69 | + <Style TargetType="ToggleButton" BasedOn="{StaticResource {x:Type ToggleButton}}"> |
| 70 | + <Setter Property="Background" Value="Transparent"/> |
| 71 | + <Setter Property="Opacity" Value="0.6"/> |
| 72 | + <Style.Triggers> |
| 73 | + <Trigger Property="IsChecked" Value="True"> |
| 74 | + <Setter Property="Background" Value="{DynamicResource SystemControlHighlightListAccentLowBrush}"/> |
| 75 | + <Setter Property="Opacity" Value="1"/> |
| 76 | + </Trigger> |
| 77 | + </Style.Triggers> |
| 78 | + </Style> |
| 79 | + </ToggleButton.Style> |
| 80 | + </ToggleButton> |
| 81 | + </StackPanel> |
| 82 | + </Border> |
| 83 | + <Border Width="1" Background="{DynamicResource SystemControlForegroundBaseMediumLowBrush}" Margin="6,2,6,2"/> |
50 | 84 | <ToggleButton x:Name="ThemeToggle" Click="ThemeToggle_Click" Padding="4,2" |
51 | 85 | ToolTip="Toggle dark/light theme" Background="Transparent" BorderThickness="0"> |
52 | 86 | <TextBlock x:Name="ThemeIcon" Text="" FontFamily="Segoe MDL2 Assets" FontSize="14"/> |
|
0 commit comments