File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Samples/Islands/WpfCalculator/CalculatorDemo Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -481,7 +481,6 @@ void SetCompactView(bool useCompactView)
481
481
482
482
// The AppWindow's CompactOverlay mode will make it always-on-top.
483
483
_appWindow . SetPresenter ( AppWindowPresenterKind . CompactOverlay ) ;
484
- _appWindow . ResizeClient ( new Windows . Graphics . SizeInt32 ( 300 , 80 ) ) ;
485
484
}
486
485
else
487
486
{
Original file line number Diff line number Diff line change 147
147
148
148
<!-- This is what's shown when we enter the compat view mode-->
149
149
<DockPanel Name =" CompactPanel" Visibility =" Collapsed" >
150
- <Button Name =" ExitCompactViewButton" Click =" ExitCompactViewButton_Click" DockPanel.Dock=" Top" >Exit Compact View</Button >
151
- <TextBlock Margin =" 3" Name =" CompactViewText" FontSize =" 22" />
150
+ <DockPanel DockPanel.Dock=" Top" >
151
+ <Button Name =" ExitCompactViewButton" Click =" ExitCompactViewButton_Click" DockPanel.Dock=" Right" >Restore</Button >
152
+ <TextBlock Margin =" 3" Name =" CompactViewText" FontSize =" 22" />
153
+
154
+ </DockPanel >
155
+ <Border x : Name =" CompactAreaBorder" >
156
+ </Border >
152
157
</DockPanel >
153
158
</Grid >
154
159
</Window >
You can’t perform that action at this time.
0 commit comments