So, I have tried many things for this to work. As well as
However I have also tried this (and other variations):
-- Frame self:SetSize( 1115, 725 ) self:SetTitle( "" ) self:SetVisible( true ) self:SetDraggable( false ) self:ShowCloseButton( false ) self:SetDeleteOnClose( false ) self:MakePopup() self:SetPos(ScrW() / 2 - 557.5, ScrH() / 2 - 362.5) self.Paint = function( pnl, w, h ) draw.RoundedBoxEx( 0, 0, 0, self:GetWide(), self:GetTall(), Color( 255, 255, 255, 255 )) end
So I set the position of the box to the center (The screen size divided by 2, then half the length of the box minus the ScrW()/2 to put it in the center) however, that has not worked well… it works for a lower resolutions, but when I make it higher it changes to the corner?
Thanks in advanced!