Garry's Mod Wiki

DVerticalDivider

Description

Vertical version of DHorizontalDivider.

Parent

Derives from DPanel.

Methods

Panel DVerticalDivider:GetBottom()
Returns the bottom content panel of the DVerticalDivider.
number DVerticalDivider:GetBottomMin()
Returns the minimum height of the bottom content panel.
number DVerticalDivider:GetDividerHeight()
Returns the height of the divider bar between the top and bottom content panels of the DVerticalDivider.
boolean DVerticalDivider:GetDragging()
Returns whether the divider is being dragged or not.
number DVerticalDivider:GetHoldPos()
This is used internally - although you're able to use it you probably shouldn't. Returns the local Y position of where the user starts dragging the divider.
Panel DVerticalDivider:GetMiddle()
Returns the middle content panel of the DVerticalDivider.
Panel DVerticalDivider:GetTop()
Returns the top content panel of the DVerticalDivider.
number DVerticalDivider:GetTopHeight()
Returns the current height of the top content panel set by DVerticalDivider:SetTopHeight or by the user.
number DVerticalDivider:GetTopMax()
Returns the maximum height of the top content panel. See DVerticalDivider:SetTopMax for more information.
number DVerticalDivider:GetTopMin()
Returns the minimum height of the top content panel.
DVerticalDivider:SetBottom( Panel pnl )
Sets the passed panel as the bottom content of the DVerticalDivider.
DVerticalDivider:SetBottomMin( number height )
Sets the minimum height of the bottom content panel.
DVerticalDivider:SetDividerHeight( number height )
Sets the height of the divider bar between the top and bottom content panels of the DVerticalDivider.
DVerticalDivider:SetDragging( boolean isDragging )
This is used internally - although you're able to use it you probably shouldn't. Sets whether the divider is being dragged or not.
DVerticalDivider:SetHoldPos( number y )
This is used internally - although you're able to use it you probably shouldn't. Sets the local Y position of where the user starts dragging the divider.
DVerticalDivider:SetMiddle( Panel pnl )
Places the passed panel in between the top and bottom content panels of the DVerticalDivider.
DVerticalDivider:SetTop( Panel pnl )
Sets the passed panel as the top content of the DVerticalDivider.
DVerticalDivider:SetTopHeight( number height )
Sets the height of the top content panel. The height of the bottom content panel is automatically calculated by taking the total height of the DVerticalDivider and subtracting it with the height of the top content panel and the divider bar.
DVerticalDivider:SetTopMax( number height )
Sets the maximum height of the top content panel. This is ignored if the panel would exceed the minimum bottom content panel height set from DVerticalDivider:SetBottomMin.
DVerticalDivider:SetTopMin( number height )
Sets the minimum height of the top content panel.
DVerticalDivider:StartGrab()
This is used internally - although you're able to use it you probably shouldn't. Causes the user to start dragging the divider.

Page Links


Special Pages


Wikis

?

Render Time: 29ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 9
Render Body 0
Render Sidebar 12