|
73 | 73 | <RowDefinition Height="Auto" />
|
74 | 74 | </Grid.RowDefinitions>
|
75 | 75 |
|
76 |
| - <ToolBar |
| 76 | + <StackPanel |
77 | 77 | Grid.Row="0"
|
78 |
| - Margin="5"> |
| 78 | + Orientation="Horizontal" |
| 79 | + Margin="7"> |
79 | 80 |
|
80 | 81 | <!-- Primary Secondary Toggle -->
|
81 | 82 | <ToggleButton
|
|
106 | 107 | Kind="FormatText" />
|
107 | 108 | </materialDesign:PopupBox.ToggleContent>
|
108 | 109 |
|
| 110 | + <!--TODO: L: In Toolbar, there is a bug that the color of the button turns black when it overflows. |
| 111 | + I don't know how to solve this problem, so I use StackPanel.--> |
109 | 112 | <StackPanel Orientation="Horizontal">
|
110 | 113 | <Button Style="{StaticResource IconButton}"
|
111 | 114 | Command="{Binding CmdSubFontSizeChange}"
|
112 | 115 | CommandParameter="-1"
|
| 116 | + Background="{DynamicResource MaterialDesignToolBarBackground}" |
113 | 117 | ToolTip="Font size decrease"
|
114 | 118 | Content="{materialDesign:PackIcon Kind=FormatFontSizeDecrease}" />
|
115 | 119 |
|
116 | 120 | <Button Style="{StaticResource IconButton}"
|
117 | 121 | Command="{Binding CmdSubFontSizeChange}"
|
118 | 122 | CommandParameter="1"
|
| 123 | + Background="{DynamicResource MaterialDesignToolBarBackground}" |
119 | 124 | ToolTip="Font size increase"
|
120 | 125 | Content="{materialDesign:PackIcon Kind=FormatFontSizeIncrease}" />
|
121 | 126 | </StackPanel>
|
|
150 | 155 | Command="{Binding CmdShowExportSubsDialog}"
|
151 | 156 | ToolTip="Export subtitles as srt"
|
152 | 157 | Content="{materialDesign:PackIcon Kind=FileExportOutline}" />
|
153 |
| - </ToolBar> |
| 158 | + |
| 159 | + <!-- Sidebar Left Toggle --> |
| 160 | + <Button Style="{StaticResource IconButton}" |
| 161 | + Command="{Binding CmdSwapSidebarPosition}" |
| 162 | + ToolTip="Swap sidebar position" |
| 163 | + Content="{materialDesign:PackIcon Kind=SwapHorizontal}" /> |
| 164 | + </StackPanel> |
154 | 165 |
|
155 | 166 | <controls:NonTopmostPopup
|
156 | 167 | Grid.Row="0"
|
|
0 commit comments