I am having a graphical issue with the first tab on my DPropertySheet, and I was wondering if anyone has seen this before, and if it's easily fixable.
[img]http://i.imgur.com/iRWOf3h.png[/img]
The code for that example is as follows;
[code]local function CreateAdmin()
local adminPanel = vgui.Create('DFrame')
adminPanel:SetTitle('Per-Steam ID Weapons')
adminPanel:SetSize(512, 256)
local tabPanel = vgui.Create('DPropertySheet', adminPanel)
tabPanel:SetPos(6, 29)
tabPanel:SetSize(500, 221)
local manageTab = vgui.Create('DPanel')
local newTab = vgui.Create('DPanel')
tabPanel:AddSheet('Manage', manageTab, 'icon16/wrench.png')
tabPanel:AddSheet('Add New User', newTab, 'icon16/add.png')
return adminPanel
end[/code]
And to show it, I just use
[code]local admin = CreateAdmin()
admin:SetVisible(true)
admin:MakePopup()
admin:Center()[/code]
Yeah, it is a bug with derma skin, nothing you can fix without making own skin/changing game files.
Ah, ok. Thanks anyway, I guess it will have to do for now :)
Sorry, you need to Log In to post a reply to this thread.