From ade55b232dfcb4e59aa739534b5dbf097eb6d489 Mon Sep 17 00:00:00 2001 From: Regisle Date: Wed, 23 Oct 2024 13:19:43 +1030 Subject: [PATCH] update wording and spacing --- src/Classes/ItemsTab.lua | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/Classes/ItemsTab.lua b/src/Classes/ItemsTab.lua index 4de0a9792f..12da26ed90 100644 --- a/src/Classes/ItemsTab.lua +++ b/src/Classes/ItemsTab.lua @@ -1173,21 +1173,22 @@ function ItemsTabClass:Draw(viewPort, inputEvents) if newItem then if newItem:find("{ ", 0, true) then local controls = { } - controls.label = new("LabelControl", nil, {0, 30, 0, 16}, "^7\"Advanced Item Descriptions\" (Ctrl+Alt+c) are unsupported.\n\nIf this is not an advanced item copy paste or if you wish to procced anyway click proceed.\n\nOr you can removed the advanced info from the item and paste as a normal item.") - controls.close = new("ButtonControl", nil, {-175, 140, 150, 20}, "^7Proceed Anyway", function() + controls.label = new("LabelControl", nil, {0, 40, 0, 16}, "^7\"Advanced Item Descriptions\" (Ctrl+Alt+c) are unsupported.") + -- \n\nIf this is not an advanced item copy paste or if you wish to proceed anyway click proceed.\n\nOr you can remove the advanced info from the item and paste as a normal item. + controls.close = new("ButtonControl", nil, {-175, 90, 150, 20}, "^7Proceed Anyway", function() self:CreateDisplayItemFromRaw(newItem, true) main:ClosePopup() end) - controls.strip = new("ButtonControl", nil, {0, 140, 150, 20}, "^7Remove Advanced Info", function() + controls.strip = new("ButtonControl", nil, {0, 90, 150, 20}, "^7Remove Advanced Info", function() newItem = itemLib.stripAdvancedCopyPaste(newItem) self:CreateDisplayItemFromRaw(newItem, true) main:ClosePopup() end) - controls.abort = new("ButtonControl", nil, {175, 140, 150, 20}, "^7Abort", function() + controls.abort = new("ButtonControl", nil, {175, 90, 150, 20}, "^7Abort", function() self:SetDisplayItem() main:ClosePopup() end) - main:OpenPopup(570, 170, "Warning", controls) + main:OpenPopup(560, 120, "Warning", controls) else self:CreateDisplayItemFromRaw(newItem, true) end