Hello all,
function window()
local window = guiCreateWindow(10, 10, 400, 500, "Window", false)
local scrollpane = guiCreateScrollPane(0, 19, 400, 481, false, window)
local pX = 20
local label = guiCreateLabel(pX, 0, 380, 481, "0123456789012345678901234567890123456789012345678901234567890123456789", false, scrollpane)
end
window()
I can't set position X in my label, it keeps standing by 0. Even if I set pX to 1000, it still is on position 0. I wonder, how and why? (This problem is also with all other GUI things I make in the scrollpane)
PS: I can create an invisible (without text) label on the scrollpane and then create everything I want into it and set the size later on. But I still want to know why it doesn't work.