How to adjust a derma menu to the players their resolution?

Hey everyone.

I have a derma menu that I use for my server and it’s quite big.
For people that have a smaller screen have trouble seeing the full menu.


Set as big as this.
F4Panel:SetPos(ScrW() / 2 - 450 / 2, ScrH() / 8)
F4Panel:SetSize( 700, 900 )

Thank you very much for helping me out in any way you can!

Use ScrW() and ScrH() in the SetSize just like you did with the SetPos.
or even ScreenScale()

[LUA]F4Panel:SetPos(ScrW() / 2 - 450 / 2, 10)
F4Panel:SetSize(700, ScrH() - 30)[/LUA]