Skip to content

Commit

Permalink
Make Context Menu text fields resizeable
Browse files Browse the repository at this point in the history
This also make them a bit higher by default so they look nice and text can actually fix inside.
  • Loading branch information
robotboy655 committed Feb 28, 2014
1 parent 8e2dd3a commit ef2e4a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion garrysmod/lua/vgui/dform.lua
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function PANEL:TextEntry( strLabel, strConVar )

local right = vgui.Create( "DTextEntry", self )
right:SetConVar( strConVar )
right:Dock( FILL )
right:Dock( TOP )

self:AddItem( left, right )

Expand Down

0 comments on commit ef2e4a4

Please sign in to comment.