Fixes (5)
This commit is contained in:
+2
-2
@@ -1249,7 +1249,7 @@
|
||||
_detalhes:OpenOptionsWindow (_detalhes:GetInstance (lower_instance))
|
||||
end)
|
||||
--> create new window
|
||||
f.new_window_button = CreateFrame ("button", nil, f, "OptionsButtonTemplate")
|
||||
f.new_window_button = CreateFrame ("button", nil, f)
|
||||
f.new_window_button:SetText (Loc ["STRING_MINIMAPMENU_NEWWINDOW"])
|
||||
f.new_window_button:SetPoint ("topleft", f, "topleft", 10, -125)
|
||||
f.new_window_button:SetWidth (170)
|
||||
@@ -1300,7 +1300,7 @@
|
||||
end)
|
||||
editbox.text = "http://www.curse.com/addons/wow/details"
|
||||
|
||||
updatewindow_frame.close = CreateFrame ("Button", "DetailsUpdateDialogCloseButton", updatewindow_frame, "OptionsButtonTemplate")
|
||||
updatewindow_frame.close = CreateFrame ("Button", "DetailsUpdateDialogCloseButton", updatewindow_frame)
|
||||
updatewindow_frame.close:SetPoint ("bottomleft", updatewindow_frame, "bottomleft", 8, 4)
|
||||
updatewindow_frame.close:SetText ("Close")
|
||||
|
||||
|
||||
@@ -1088,7 +1088,7 @@ local function cria_drop_down (este_gump)
|
||||
cria_wisper_field (window)
|
||||
cria_check_buttons (window)
|
||||
|
||||
window.enviar = _CreateFrame ("Button", nil, window, "OptionsButtonTemplate,BackdropTemplate")
|
||||
window.enviar = _CreateFrame ("Button", nil, window, "BackdropTemplate")
|
||||
window.enviar:SetPoint ("topleft", window.editbox, "topleft", 61, -19)
|
||||
window.enviar:SetWidth (60)
|
||||
window.enviar:SetHeight (15)
|
||||
|
||||
@@ -5,9 +5,11 @@ local _detalhes = _G._detalhes
|
||||
function _detalhes:WipeConfig()
|
||||
local Loc = LibStub ("AceLocale-3.0"):GetLocale ( "Details" )
|
||||
|
||||
local b = CreateFrame ("button", "DetailsResetConfigButton", UIParent, "OptionsButtonTemplate")
|
||||
local b = CreateFrame ("button", "DetailsResetConfigButton", UIParent)
|
||||
tinsert (UISpecialFrames, "DetailsResetConfigButton")
|
||||
|
||||
DetailsFramework:ApplyStandardBackdrop(b)
|
||||
|
||||
b:SetSize (250, 40)
|
||||
b:SetText (Loc ["STRING_SLASH_WIPECONFIG_CONFIRM"])
|
||||
b:SetScript ("OnClick", function() _detalhes.wipe_full_config = true; ReloadUI(); end)
|
||||
|
||||
Reference in New Issue
Block a user