Hello everyone!
I am using Kamshak's Subcategories script for the original Pointshop made by Undefined. The script can be found on garrysmod.org - [url]https://garrysmods.org/download/33/subcategories-for-pointshop[/url]
The script is actually meant for the old VGUI, but ever since the Pointshop has been reskinned by Handsome Matt - [url]http://facepunch.com/showthread.php?t=1286577&p=45576056&viewfull=1#post45576056[/url]
So I have formatted some of the script so it matches the new theme more, but there's one problem that I still face: the outline of the icons are missing when I use subcategories.
Here's an example of the Pointshop with icon outline (it's the small grayish thing)
[IMG]http://i.gyazo.com/48caf0638003b0cd72ba68f06c1dfbf6.png[/IMG]
And here's an example of using the Subcategories (I removed the dark background and changed the icon size)
[IMG]http://i.gyazo.com/5154813737c4482568cb0281a0293173.png[/IMG]
As you can see, the second image does not have the thin gray outline surrounding each icon.
I am still new to Lua, but do you guys have any ideas on how to fix this?
Added pictures to compare the two versions.
Any help?
You'll need to compare the code for each version. The second one is likely missing something.
[QUOTE=SirSavary;48164939]You'll need to compare the code for each version. The second one is likely missing something.[/QUOTE]
It looks like that the Subcategories is just an addon to Pointshop as I can't seem to find out where the details in the Subcategories / Pointshop give the outline.
From what I remember the vgui element used for those items has that inner shadow by default. If you want to get it back you'll need to remove the replacement paint function being used or add the shadow in yourself.
Sorry, you need to Log In to post a reply to this thread.