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)
481481
482482 // The AppWindow's CompactOverlay mode will make it always-on-top.
483483 _appWindow . SetPresenter ( AppWindowPresenterKind . CompactOverlay ) ;
484- _appWindow . ResizeClient ( new Windows . Graphics . SizeInt32 ( 300 , 80 ) ) ;
485484 }
486485 else
487486 {
Original file line number Diff line number Diff line change 147147
148148 <!-- This is what's shown when we enter the compat view mode-->
149149 <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 >
152157 </DockPanel >
153158 </Grid >
154159</Window >
You can’t perform that action at this time.
0 commit comments