mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Launch center screen
Make the SDK launcher appear on the center of the client's screen.
This commit is contained in:
parent
6df3f39125
commit
85f988dcd7
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user