I have a ZO_ScrollContainer holding both a ZO_DefaultEditMultiLineForBackdrop and a CT_LABEL. When the Editbox is overflowing, I can scroll down. But when the Label is overflowing, I can see "..." at the bottom-left of it, and there's no scrolling.
I tried changing things around in all kinds of ways, but couldn't get any results. Couldn't find a simple example or virtual in the code, either. Any advice?
Code:
ScrollContainer = WINDOW_MANAGER:CreateControlFromVirtual("Somename_ScrollContainer", MainWindow, "ZO_ScrollContainer")
ScrollContainer.scrollChild = ScrollContainer:GetNamedChild("ScrollChild")
ScrollContainer:SetAnchorFill(ItsBackdrop)
ScrollContainer:SetDrawLayer(0)
ScrollContainer:SetDrawLevel(2)
ScrollContainer:SetDrawTier(0)
---------------------------------------------------------------------------------------------------
Editbox = WINDOW_MANAGER:CreateControlFromVirtual("Somename_Contents", ScrollContainer, "ZO_DefaultEditMultiLineForBackdrop")
Editbox:SetDrawLayer(0)
Editbox:SetDrawLevel(3)
Editbox:SetDrawTier(1)
Editbox:SetMultiLine(true)
---------------------------------------------------------------------------------------------------
Label = WINDOW_MANAGER:CreateControl("Somename_ContentsLabel", ScrollContainer, CT_LABEL)
Label:SetAnchorFill(Editbox)
Label:SetDrawLayer(0)
Label:SetDrawLevel(3)
Label:SetDrawTier(1)
Label:SetMouseEnabled(true)