Skip to content

Commit 3fd34bd

Browse files
committed
Cleanup and make RS5
1 parent cac50ed commit 3fd34bd

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Samples/Islands/WpfCalculator/CalculatorDemo/App_Demo3.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ namespace CalculatorDemo
99
{
1010
public partial class App : Application
1111
{
12-
// Many WinAppSDK APIs require a DispatcherQueue to be running on the thread. We'll start one when the app starts up
13-
// and shut it down when the app is finished.
12+
// Many WinAppSDK APIs require a DispatcherQueue to be running on the thread. We'll start one when the app
13+
// starts up and shut it down when the app is finished.
1414
protected override void OnStartup(StartupEventArgs e)
1515
{
1616
_dispatcherQueueController = DispatcherQueueController.CreateOnCurrentThread();

Samples/Islands/WpfCalculator/CalculatorDemo/CalculatorDemo.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
<FileAlignment>512</FileAlignment>
2626
<WarningLevel>4</WarningLevel>
2727
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
28+
<SupportedOSPlatformVersion>10.0.17763.0</SupportedOSPlatformVersion>
2829
</PropertyGroup>
2930
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
3031
<PlatformTarget>x86</PlatformTarget>

Samples/Islands/WpfCalculator/CalculatorDemo/MainWindow_Demo3.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void SetCompactView(bool useCompactView)
4444

4545
// The AppWindow's CompactOverlay mode will make it always-on-top.
4646
_appWindow.SetPresenter(AppWindowPresenterKind.CompactOverlay);
47-
_appWindow.ResizeClient(new Windows.Graphics.SizeInt32(200, 200));
47+
_appWindow.ResizeClient(new Windows.Graphics.SizeInt32(400, 400));
4848
}
4949
else
5050
{

0 commit comments

Comments
 (0)