diff --git a/src/Gui/Gui.cs b/src/Gui/Gui.cs index 69cde60..40a4a70 100644 --- a/src/Gui/Gui.cs +++ b/src/Gui/Gui.cs @@ -72,6 +72,7 @@ namespace WorldOfPeacecraft this.Controls.Add (OnlinePlayerList); this.Controls.Add (MapPanel); this.Controls.Add (ChatPanel); + this.CenterToScreen (); this.ResumeLayout(); loaded = true; diff --git a/src/Gui/Splashscreen.cs b/src/Gui/Splashscreen.cs index 70df965..576ae07 100644 --- a/src/Gui/Splashscreen.cs +++ b/src/Gui/Splashscreen.cs @@ -25,6 +25,8 @@ namespace WorldOfPeacecraft Thread t = new Thread (ThreadEntry); t.Start (); this.SetClientSizeCore (450, 150); + this.FormBorderStyle = FormBorderStyle.None; + this.CenterToScreen (); Logo = Image.FromFile (ImagesFolder + "splashscreen.png"); //m.Playmusic ("splashscreen"); }