[commit] r2778 - trunk/GME/CSGUI

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Mon Jul 8 13:31:00 CDT 2019


Author: ksmyth
Date: Mon Jul  8 13:31:00 2019
New Revision: 2778

Log:
Welcome screen: fix recent list being too high on high dpi

Modified:
   trunk/GME/CSGUI/WelcomeScreen.cs

Modified: trunk/GME/CSGUI/WelcomeScreen.cs
==============================================================================
--- trunk/GME/CSGUI/WelcomeScreen.cs	Mon Jul  8 13:30:57 2019	(r2777)
+++ trunk/GME/CSGUI/WelcomeScreen.cs	Mon Jul  8 13:31:00 2019	(r2778)
@@ -52,10 +52,9 @@
         internal void ShowDialog(IWin32Window windowWrapper, List<string> recents)
         {
             this.recents = recents;
-            int y = 20;
             using (Graphics g = this.CreateGraphics())
             {
-
+            int y = this.grpRecents.DisplayRectangle.Top;
             foreach (string recent_ in recents)
             {
                 string recent = recent_;


More information about the gme-commit mailing list