|
60 | 60 | <Setter Target="SplitterBar.(Grid.RowSpan)" Value="3" /> |
61 | 61 | <Setter Target="SplitterBar.(Grid.ColumnSpan)" Value="1" /> |
62 | 62 | <Setter Target="SplitterBar.ResizeDirection" Value="Columns" /> |
| 63 | + <!-- Workaround for https://github.com/CommunityToolkit/Windows/issues/748 --> |
| 64 | + <Setter Target="SplitterBar.Orientation" Value="Vertical" /> |
63 | 65 |
|
64 | 66 | <Setter Target="SplitterCommandBarLeft.(Grid.Row)" Value="0" /> |
65 | 67 | <Setter Target="SplitterCommandBarLeft.(Grid.Column)" Value="1" /> |
66 | 68 | <Setter Target="SplitterCommandBarLeft.(Grid.RowSpan)" Value="3" /> |
67 | 69 | <Setter Target="SplitterCommandBarLeft.(Grid.ColumnSpan)" Value="1" /> |
68 | 70 | <Setter Target="SplitterCommandBarLeft.Orientation" Value="Vertical" /> |
69 | | - <Setter Target="SplitterCommandBarLeft.Margin" Value="0,0,0,200" /> |
| 71 | + <Setter Target="SplitterCommandBarLeft.Margin" Value="0,0,0,260" /> |
70 | 72 |
|
71 | 73 | <Setter Target="SplitterCommandBarRight.(Grid.Row)" Value="0" /> |
72 | 74 | <Setter Target="SplitterCommandBarRight.(Grid.Column)" Value="1" /> |
|
107 | 109 | <Setter Target="SplitterBar.(Grid.RowSpan)" Value="3" /> |
108 | 110 | <Setter Target="SplitterBar.(Grid.ColumnSpan)" Value="1" /> |
109 | 111 | <Setter Target="SplitterBar.ResizeDirection" Value="Columns" /> |
| 112 | + <!-- Workaround for https://github.com/CommunityToolkit/Windows/issues/748 --> |
| 113 | + <Setter Target="SplitterBar.Orientation" Value="Vertical" /> |
110 | 114 |
|
111 | 115 | <Setter Target="SplitterCommandBarLeft.(Grid.Row)" Value="0" /> |
112 | 116 | <Setter Target="SplitterCommandBarLeft.(Grid.Column)" Value="1" /> |
113 | 117 | <Setter Target="SplitterCommandBarLeft.(Grid.RowSpan)" Value="3" /> |
114 | 118 | <Setter Target="SplitterCommandBarLeft.(Grid.ColumnSpan)" Value="1" /> |
115 | 119 | <Setter Target="SplitterCommandBarLeft.Orientation" Value="Vertical" /> |
116 | | - <Setter Target="SplitterCommandBarLeft.Margin" Value="0,0,0,200" /> |
| 120 | + <Setter Target="SplitterCommandBarLeft.Margin" Value="0,0,0,260" /> |
117 | 121 |
|
118 | 122 | <Setter Target="SplitterCommandBarRight.(Grid.Row)" Value="0" /> |
119 | 123 | <Setter Target="SplitterCommandBarRight.(Grid.Column)" Value="1" /> |
|
193 | 197 | <StackPanel x:Name="SplitterCommandBarLeft" |
194 | 198 | Grid.Row="1" |
195 | 199 | Grid.ColumnSpan="3" |
196 | | - Margin="0,2,300,2" |
| 200 | + Margin="0,2,308,2" |
197 | 201 | HorizontalAlignment="Center" |
198 | 202 | VerticalAlignment="Center" |
199 | 203 | Background="Transparent" |
|
205 | 209 | Style="{StaticResource VSCodeAppBarHeaderButtonStyle}"> |
206 | 210 | <SymbolIcon fex:SymbolIconExtensions.FontSize="16" Symbol="Refresh" /> |
207 | 211 | </Button> |
208 | | - <controls:Segmented SelectedIndex="0" |
209 | | - SelectionChanged="Segmented_SelectionChanged" |
| 212 | + <controls:Segmented x:Name="DesignerModeSelector" |
| 213 | + SelectedIndex="0" |
| 214 | + SelectionChanged="DesignerModeSelector_SelectionChanged" |
210 | 215 | SelectionMode="Single"> |
211 | 216 | <!-- TODO: Move Tooltip to Resources... --> |
212 | 217 | <controls:SegmentedItem Icon="{ui:FontIcon Glyph=}" |
|
0 commit comments