(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() |
Did you try just changing the size of the box?
/edit: SetNumLines() just changes how many lines the scrolling editbox will hold. |
SetNumLines does that. If you look at the lib AceGUIWidget-MultiLineEditBox.lua
SetNumLines calls Layout Code:
local function Layout(self) |
Looks like I figured it out. Widget.button:SetPoint("BOTTOMLEFT", 0, -200)
Or what not will make the box larger. Too bad there's no way to make it autosize on the vertical, that I know of. But this will do. |
Hi
Do you tryed this ? Quote:
|
If you are using AceConfig to build your options then you can set the number of lines in the declaration:
Code:
custom = { |
I believe he's using AceGUI directly.
|
I'm using aceconfig, I already got it to work. But had to use a custom control to modify the multiline editbox.
I didn't want to rewrite the multiline editbox control that was already coded in the acelib. So it was easier to just use the existing one and modify it. Lot less work. Thanks |
Quote:
|
I don't know they had the lower left anchored to a button. I haven't tried that way, but I also needed to remove the accept button, so the custom control is the only way to go now. Its all working anyway.
|
All times are GMT -6. The time now is 01:55 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI