Margin for displacement #833

Merged
merged 2 commits into from Apr 22, 2016

Projects

None yet

4 participants

@mavisdracula
Contributor

A margin for the tabscroller to fix the ugly derma hook coming out of the DTab.

@mavisdracula mavisdracula Margin for displacement
A margin for the tabscroller to fix the ugly derma hook coming out of the DTab.
3f5f197
@LennyPenny LennyPenny commented on an outdated diff Oct 26, 2014
garrysmod/lua/vgui/dpropertysheet.lua
@@ -170,6 +170,7 @@ function PANEL:Init()
self.tabScroller = vgui.Create( "DHorizontalScroller", self )
self.tabScroller:SetOverlap( 5 )
self.tabScroller:Dock( TOP )
+ self.tabScroller:DockMargin(3, 0, 3, 0)
@LennyPenny
LennyPenny Oct 26, 2014 Contributor

Might want to add spaces before the parenthesis to go with the coding standards.

@mavisdracula mavisdracula Whitespaces to code.
added spaces before the parenthesis to go with the coding standards.
54be402
@robotboy655
Collaborator

Fixes Facepunch/garrysmod-issues#1515, but I will try for a different approach first.

@robotboy655 robotboy655 added the pending label Mar 31, 2015
@Kefta
Contributor
Kefta commented Dec 30, 2015
@robotboy655 robotboy655 merged commit 6fb4329 into garrynewman:master Apr 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment