From 1b38b9060d90545e5f27dd98a72cb401e297de32 Mon Sep 17 00:00:00 2001 From: clowwindy Date: Tue, 13 Jan 2015 22:17:24 +0800 Subject: [PATCH] add TODO: test on high DPI --- shadowsocks-csharp/View/MenuViewController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/shadowsocks-csharp/View/MenuViewController.cs b/shadowsocks-csharp/View/MenuViewController.cs index 1794e7e2..c64be08c 100755 --- a/shadowsocks-csharp/View/MenuViewController.cs +++ b/shadowsocks-csharp/View/MenuViewController.cs @@ -427,6 +427,7 @@ namespace Shadowsocks.View maxY += margin + marginTop; splash.Location = new Point(0, 0); // we need a panel because a window has a minimal size + // TODO: test on high DPI splash.TargetRect = new Rectangle((int)minX, (int)minY, (int)maxX - (int)minX, (int)maxY - (int)minY); splash.Size = new Size(fullImage.Width, fullImage.Height); splash.Show();