Hi,
Does anyone know how i can increase the resolution of the SpawnIcon panel?
https://files.facepunch.com/forum/upload/111841/f3e2be3b-221c-4518-9177-ddf49b177f61/image.png
Any help is appreciated
Thanks
I found this myself the other day but I'm having issues with a lot of padding around my images
spawnicon:InvalidateLayout( true )
got this from my police armory that i did,
local primariesmodels = vgui.Create( "DModelPanel", primariesback)
primariesmodels:Dock( FILL )
primariesmodels:SetCamPos( Vector( 0, 200, 0 ) )
primariesmodels:SetLookAng( Angle( 180, 90, 180 ) )
primariesmodels:SetModel(v.model)
end
its better to use dmodelpanel
Thanks for the suggestion, however this hasn't seemed to work.
I would use your suggestion, however not all the models have the same starting angle, so if I align one model, another model will be at the wrong angle.
https://files.facepunch.com/forum/upload/111841/e924d9e6-c9dc-4727-b543-8ab6e3080834/image.png
Thanks for the help guys.
Sorry, you need to Log In to post a reply to this thread.