From 3cce44b1a9ea35c8a5ed3fee8cb7999cfc1f3777 Mon Sep 17 00:00:00 2001 From: XxXAdvisaryXxX Date: Sat, 9 May 2026 16:58:30 -0700 Subject: [PATCH 1/2] Adjust CloseButton coordinates in interface.simba Increased Padding by 1 pixel on all 4 coordinates. --- osrs/interfaces/interface.simba | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/osrs/interfaces/interface.simba b/osrs/interfaces/interface.simba index 1bea501c..dfb6f796 100644 --- a/osrs/interfaces/interface.simba +++ b/osrs/interfaces/interface.simba @@ -41,10 +41,10 @@ begin Self.Bounds.X2 := bounds.X2 - 50; Self.Bounds.Y2 := Self.Bounds.Y1 + 17; - Self.CloseButton.X1 := bounds.X2-27; - Self.CloseButton.Y1 := bounds.Y1+8; - Self.CloseButton.X2 := bounds.X2-7; - Self.CloseButton.Y2 := bounds.Y1+28; + Self.CloseButton.X1 := bounds.X2-28; + Self.CloseButton.Y1 := bounds.Y1+7; + Self.CloseButton.X2 := bounds.X2-6; + Self.CloseButton.Y2 := bounds.Y1+29; Self.TitleColor := RSFonts.ORANGE; From 25fb05c0336c36fa506e50ba6fb8f83de43e2053 Mon Sep 17 00:00:00 2001 From: XxXAdvisaryXxX Date: Sun, 10 May 2026 13:03:39 -0700 Subject: [PATCH 2/2] Remove padding adjustments for close button Removed padding adjustments for the close button. --- osrs/interfaces/mainscreen/bank.simba | 5 ----- 1 file changed, 5 deletions(-) diff --git a/osrs/interfaces/mainscreen/bank.simba b/osrs/interfaces/mainscreen/bank.simba index 4e1fa817..91c83dc6 100644 --- a/osrs/interfaces/mainscreen/bank.simba +++ b/osrs/interfaces/mainscreen/bank.simba @@ -151,11 +151,6 @@ begin Self.Scroll.Setup(); Self.Title.Setup(Self.Bounds); - Self.Title.CloseButton.X1 := Self.Title.CloseButton.X1 - 5; - Self.Title.CloseButton.X2 := Self.Title.CloseButton.X2 + 5; - Self.Title.CloseButton.Y1 := Self.Title.CloseButton.Y1 - 5; - Self.Title.CloseButton.Y2 := Self.Title.CloseButton.Y2 + 5; - Self.Tabs := TBoxArray.Create(Self.Bounds.TopLeft.Offset(47, 42), 10, 1, 35, 28, [5, 0]); Self.SlotBoxes := TBoxArray.Create(Self.Bounds.TopLeft.Offset(57, 77), 8, (Self.Bounds.Height - 135) div 35, 31, 31, [17, 5]);