Closed andreas-stefik closed 1 year ago
In the program I am writing...
With the following piece of code, the label is displayed.
Label tf tf:SetText("This is me") tf:SetPosition(40,500) tf:SetSize(500, 30) tf:SetFontColor(color:White()) controlLayer:Add(tf)
When I switch the Label to a TextField as in the following code, the TextField is not displayed.
TextField tf tf:SetText("This is me") tf:SetPosition(40,500) tf:SetSize(500, 30) tf:SetFontColor(color:White()) controlLayer:Add(tf)
And when I instead add the TextField not to controlLayer as in the following code , the Textfield is displayed.
TextField tf tf:SetText("This is me") tf:SetPosition(40,500) tf:SetSize(500, 30) tf:SetFontColor(color:White(()) Add(tf)
I'm closing this one. I'm not sure I follow what it was referring to.
In the program I am writing...
With the following piece of code, the label is displayed.
Label tf tf:SetText("This is me") tf:SetPosition(40,500) tf:SetSize(500, 30) tf:SetFontColor(color:White()) controlLayer:Add(tf)
When I switch the Label to a TextField as in the following code, the TextField is not displayed.
TextField tf tf:SetText("This is me") tf:SetPosition(40,500) tf:SetSize(500, 30) tf:SetFontColor(color:White()) controlLayer:Add(tf)
And when I instead add the TextField not to controlLayer as in the following code , the Textfield is displayed.
TextField tf tf:SetText("This is me") tf:SetPosition(40,500) tf:SetSize(500, 30) tf:SetFontColor(color:White(()) Add(tf)