diff --git a/BuildTime.txt b/BuildTime.txt index 936c40b..f56512b 100644 --- a/BuildTime.txt +++ b/BuildTime.txt @@ -1 +1 @@ -2026-03-22 13:55:03 \ No newline at end of file +2026-03-22 18:25:04 \ No newline at end of file diff --git a/GitCommit.txt b/GitCommit.txt index ccbc055..5877de7 100644 --- a/GitCommit.txt +++ b/GitCommit.txt @@ -1 +1 @@ -126017b \ No newline at end of file +1907cdb \ No newline at end of file diff --git a/Gui/ShellComponents/Lock.cs b/Gui/ShellComponents/Lock.cs index 7fd6020..2bbba88 100644 --- a/Gui/ShellComponents/Lock.cs +++ b/Gui/ShellComponents/Lock.cs @@ -164,9 +164,12 @@ namespace CMLeonOS.Gui.ShellComponents RenderBackground(); - int boxesStartY = (int)(padding + Images.Icon_Key.Height + padding); + int contentHeight = 110; + int contentWidth = 160; + int startX = (width - contentWidth) / 2; + int startY = (height - contentHeight) / 2; - userTable = new Table(window, padding, boxesStartY, 160, 80); + userTable = new Table(window, startX, startY, contentWidth, 80); userTable.CellHeight = 25; userTable.Background = Color.White; userTable.Foreground = Color.Black; @@ -190,7 +193,7 @@ namespace CMLeonOS.Gui.ShellComponents wm.AddWindow(userTable); - passwordBox = new TextBox(window, padding, boxesStartY + 90, 160, 20); + passwordBox = new TextBox(window, startX, startY + 90, contentWidth, 20); passwordBox.Shield = true; passwordBox.PlaceholderText = "Password"; passwordBox.Submitted = LogOn;