Add config window size constraints

This commit is contained in:
Liza 2024-05-11 14:02:08 +02:00
parent af964b0723
commit 1a72a2dbe0
Signed by: liza
GPG Key ID: 7199F8D727D55F67

View File

@ -20,6 +20,11 @@ internal sealed class ConfigWindow : LWindow
Position = new Vector2(100, 100);
PositionCondition = ImGuiCond.FirstUseEver;
Flags = ImGuiWindowFlags.AlwaysAutoResize;
SizeConstraints = new WindowSizeConstraints
{
MinimumSize = new Vector2(270, 50),
};
}
public override void Draw()