Quantcast WoWInterface - View Single Post - StaticPopupDialogs WideEditBox Removed
View Single Post
09-16-10, 12:25 PM   #2
Smacker
A Deviate Faerie Dragon
 
Smacker's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2009
Posts: 16
need to change this:

Code:
	StaticPopupDialogs["POWERAURAS_EXPORT_AURA_SET"] = {
		text = "Title",
		button1 = DONE,
		hasEditBox = 1,
		maxLetters = 120,
		hasWideEditBox = 1,
		OnShow = function(self)
			self.wideEditBox:SetText(PowaAuras:CreateAuraSetString());
			self.wideEditBox:SetFocus();
			self.wideEditBox:HighlightText();
		end,
to this:

Code:
	StaticPopupDialogs["POWERAURAS_EXPORT_AURA_SET"] = {
		text = "Title",
		button1 = DONE,
		hasEditBox = 1,
		maxLetters = 120,
		editBoxWidth = 350,
		OnShow = function(self)
			self.editBox:SetText(PowaAuras:CreateAuraSetString());
			self.editBox:SetFocus();
			self.editBox:HighlightText();
		end,