View Single Post
06-03-17, 12:23 PM   #1
galvin
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 265
(ace3) Need help changing the multiline edit box to have more lines

trying to use a custom control to change the default size of the editbox, but its not working. Any ideas?


Code:
local function MultiLineEditBoxConstructor()
  local Widget = AceGUI:Create('MultiLineEditBox')

  Widget.type = MultiLineEditBoxWidgetType
  Widget:SetNumLines(20)

  return AceGUI:RegisterAsWidget(Widget)
end

AceGUI:RegisterWidgetType(MultiLineEditBoxWidgetType, MultiLineEditBoxConstructor, MultiLineEditBoxWidgetVersion)
  Reply With Quote