This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
There appears to be a possible issue with the Heading GUI widet as it does not show correctly after its creation and addition to the container.
I used the following code to add a heading to a existing container that have other items that display correctly.
local AF_Header = AceGUI:Create("Heading") <br />scroll:AddChild(AF_Header)<br />AF_Header:SetText("Header")<br print(AF_Header:IsShown())
The IsShown returned true and using /fstack I can see that there is a frame where the heading should be. After a bunch of experimentation I found that I needed to set AF_Header:SetRelativeWidth(1) to actually get the heading to show. Im not sure if this is the expected functionality and if so then perhaps the documentation might need to be updated, as it looks like it has been a problem for people since 2015
Which layour is your container? Flow?
Headings are full width by default (ie. Header:SetFullWidth()), which means that in a Flow Layout, they should get their own row and fill it up entirely. 100% relative width probably has a similar effect, but uses a different code path to draw it.
It was in a scroll frame using the Flow layout.
To post a comment, please login or register a new account.