DLabel and Panels

I’ve got this DLabel code I’m testing with for practice:


	for k, v in ipairs( maps ) do

		local text = vgui.Create( "DLabel", menurtv )
		text:SetFont( "DermaDefault" )
		text:SetColor( Color( 255, 255, 255, 255 ) )
		text:SetText( tostring(k).."]   "..v )
		text:SetPos( 5, (26 * k-1) )
		text:SizeToContents()

		Keys[k+1] = { text, v == "Extend Current Map" and "EXTEND" or k }

	end


Now, how would I position the label so that it as an object as a whole is moved down, changing the yaxis in SetPos() only changes the separation.

Maybe change the Y axis on its parent frame (menurtv) ?

you should also post the code for the frame this text is inside.