mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-04 17:16:24 +02:00
Increase UI element sizes and add maxWidth support to DrawString methods
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user