From 85f988dcd7aaec209ff0fdeab1b8e83468074718 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Tue, 25 Jul 2023 01:05:05 +0200 Subject: [PATCH] Launch center screen Make the SDK launcher appear on the center of the client's screen. --- r5dev/sdklauncher/basepanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r5dev/sdklauncher/basepanel.cpp b/r5dev/sdklauncher/basepanel.cpp index 5d8fd4f0..50b552ab 100644 --- a/r5dev/sdklauncher/basepanel.cpp +++ b/r5dev/sdklauncher/basepanel.cpp @@ -23,7 +23,7 @@ void CSurface::Init() this->SetText("Dashboard"); this->SetClientSize({ WindowX, WindowY }); this->SetFormBorderStyle(Forms::FormBorderStyle::FixedSingle); - this->SetStartPosition(Forms::FormStartPosition::CenterParent); + this->SetStartPosition(Forms::FormStartPosition::CenterScreen); this->SetMinimizeBox(true); this->SetMaximizeBox(false); this->SetBackColor(Drawing::Color(47, 54, 61));