why it doesnt work? size doesnt change
WindowForm = guiCreateWindow ( 0.15, 0.2, 0.60, 0.50, "GUI", true )
editX = guiCreateEdit( 0.1, 0.5, 0.10, 0.06, "0.1", true, WindowForm )
editY = guiCreateEdit( 0.1, 0.6, 0.10, 0.06, "0.2", true, WindowForm )
button = guiCreateButton( 0.1, 0.2, 0.15, 0.06, "B TEST", true, WindowForm )
addEventHandler ( "onClientGUIClick", getResourceRootElement(getThisResource()),
function ()
if (source == button) then
local textX = guiSetText ( editX )
local textY = guiSetText ( editY )
guiSetSize ( WindowForm, textX, textY, true )
end
end
)
btw is any gui editor?