diff --git a/modules/firstrun.lua b/modules/firstrun.lua index acd16055..8a08d474 100644 --- a/modules/firstrun.lua +++ b/modules/firstrun.lua @@ -191,14 +191,12 @@ pfUI:RegisterModule("firstrun", function () f.text:SetText(T["|cff33ffccBlizzard: \"Interface Options\"|r\n\nDo you want me to set up the recommended Blizzard UI settings? This will enable settings that can be found in the Interface section of your client. Options like Buff Durations, Instant Quest Text, Auto Selfcast and others will be set."]) f.checkbox = CreateFrame("CheckButton", "pfCheckBoxCVAR", f, "UICheckButtonTemplate") - f.checkbox:SetWidth(14) - f.checkbox:SetHeight(14) f.checkbox:SetChecked(true) f.checkbox.text = f:CreateFontString("Status", "LOW", "GameFontNormal") f.checkbox.text:SetPoint("LEFT", f.checkbox, "RIGHT", 5, 0) f.checkbox.text:SetText(" " .. T["Setup Optimized Game Settings"]) f.checkbox:SetPoint("BOTTOMLEFT", (f:GetWidth() - f.checkbox.text:GetStringWidth() - 20) / 2, 50) - SkinCheckbox(f.checkbox) + SkinCheckbox(f.checkbox, 18) f.NextScript = function() if f.checkbox:GetChecked() then @@ -215,14 +213,12 @@ pfUI:RegisterModule("firstrun", function () f.text:SetText(T["|cff33ffccChat: \"Loot & Spam\"|r\n\nDo you want me to create and manage a specific Chatframe called \"Loot & Spam\"? This chat will display world channels, loot information and miscellaneous messages, that would otherwise clutter your main chatframe."]) f.checkbox = CreateFrame("CheckButton", "pfCheckBoxChatRight", f, "UICheckButtonTemplate") - f.checkbox:SetWidth(14) - f.checkbox:SetHeight(14) f.checkbox:SetChecked(true) f.checkbox.text = f:CreateFontString("Status", "LOW", "GameFontNormal") f.checkbox.text:SetPoint("LEFT", f.checkbox, "RIGHT", 5, 0) f.checkbox.text:SetText(" " .. T["Enable \"Loot & Spam\" Window"]) f.checkbox:SetPoint("BOTTOMLEFT", (f:GetWidth() - f.checkbox.text:GetStringWidth() - 20) / 2, 50) - SkinCheckbox(f.checkbox) + SkinCheckbox(f.checkbox, 18) f.NextScript = function() if not pfUI.chat then message("Couldn't apply settings. Chat module is disabled.") end @@ -237,14 +233,12 @@ pfUI:RegisterModule("firstrun", function () local f = CreateFirstRunPage() f.text:SetText(T["|cff33ffccChat: \"Layout\"|r\n\nDo you want me to adjust the layout of your chatframes? This would make sure, that every window is placed on its dedicated position."]) f.checkbox = CreateFrame("CheckButton", "pfCheckBoxChatPosition", f, "UICheckButtonTemplate") - f.checkbox:SetWidth(14) - f.checkbox:SetHeight(14) f.checkbox:SetChecked(true) f.checkbox.text = f:CreateFontString("Status", "LOW", "GameFontNormal") f.checkbox.text:SetPoint("LEFT", f.checkbox, "RIGHT", 5, 0) f.checkbox.text:SetText(" " .. T["Align Chat Windows"]) f.checkbox:SetPoint("BOTTOMLEFT", (f:GetWidth() - f.checkbox.text:GetStringWidth() - 20) / 2, 50) - SkinCheckbox(f.checkbox) + SkinCheckbox(f.checkbox, 18) f.NextScript = function() if not pfUI.chat then message("Couldn't apply settings. Chat module is disabled.") end @@ -261,14 +255,12 @@ pfUI:RegisterModule("firstrun", function () local f = CreateFirstRunPage() f.text:SetText(T["|cff33ffccChat: \"Channels\"|r\n\nDo you want me to setup the chat channels of your chatframes? This would set important or personal messages to the left chat and world channels and lootinformation to the right chat."]) f.checkbox = CreateFrame("CheckButton", "pfCheckBoxChatChannels", f, "UICheckButtonTemplate") - f.checkbox:SetWidth(14) - f.checkbox:SetHeight(14) f.checkbox:SetChecked(true) f.checkbox.text = f:CreateFontString("Status", "LOW", "GameFontNormal") f.checkbox.text:SetPoint("LEFT", f.checkbox, "RIGHT", 5, 0) f.checkbox.text:SetText(" " .. T["Setup All Chat Channels"]) f.checkbox:SetPoint("BOTTOMLEFT", (f:GetWidth() - f.checkbox.text:GetStringWidth() - 20) / 2, 50) - SkinCheckbox(f.checkbox) + SkinCheckbox(f.checkbox, 18) f.NextScript = function() if not pfUI.chat then message("Couldn't apply settings. Chat module is disabled.") end