Increase UI element sizes and add maxWidth support to DrawString methods

This commit is contained in:
Stone_Red
2026-06-15 02:10:20 +02:00
parent 43732684b3
commit 1355fa06b8
3 changed files with 19 additions and 7 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ internal class DesktopProcess() : Process("Desktop Manager")
Button button = testWindow.CreateUIElement<UI.GUI.UIEelements.Controls.Button>(b =>
{
b.Position = new System.Drawing.Point(20, 30);
b.Size = new System.Drawing.Size(100, 30);
b.Size = new System.Drawing.Size(200, 30);
b.Text = "Click Me";
b.BackgroundColor = System.Drawing.Color.LightBlue;
});
@@ -41,7 +41,7 @@ internal class DesktopProcess() : Process("Desktop Manager")
CheckBox check = testWindow.CreateUIElement<UI.GUI.UIEelements.Controls.CheckBox>(c =>
{
c.Position = new System.Drawing.Point(20, 80);
c.Size = new System.Drawing.Size(100, 30);
c.Size = new System.Drawing.Size(200, 30);
c.Text = "Check Me";
c.IsChecked = true;
});