Browse Source

add TODO: test on high DPI

tags/2.3
clowwindy 9 years ago
parent
commit
1b38b9060d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      shadowsocks-csharp/View/MenuViewController.cs

+ 1
- 0
shadowsocks-csharp/View/MenuViewController.cs View File

@@ -427,6 +427,7 @@ namespace Shadowsocks.View
maxY += margin + marginTop; maxY += margin + marginTop;
splash.Location = new Point(0, 0); splash.Location = new Point(0, 0);
// we need a panel because a window has a minimal size // 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.TargetRect = new Rectangle((int)minX, (int)minY, (int)maxX - (int)minX, (int)maxY - (int)minY);
splash.Size = new Size(fullImage.Width, fullImage.Height); splash.Size = new Size(fullImage.Width, fullImage.Height);
splash.Show(); splash.Show();


Loading…
Cancel
Save