s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
jams
Workshop
Steam
open_in_new
Steam Workshop
Assets
view_in_ar
Models
texture
Materials
apparel
Clothing
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Classes
SplitContainer
UpdateSplitFraction
chevron_left
Classes
class
SplitContainer
Constructors
functions
SplitContainer
Fields
crop_din
MinimumFractionLeft
crop_din
MinimumFractionRight
Properties
data_object
FractionCookie
data_object
IsDragging
data_object
Left
data_object
Right
data_object
Splitter
data_object
Vertical
Methods
lock
OnMouseMove
functions
OnTemplateSlot
functions
SetProperty
functions
UpdateSplitFraction
UpdateSplitFraction
Sets the split fraction to this value. Will automatically adjust the value according to MinimumFraction parameters, and will save the new value to cookie.
method
void
UpdateSplitFraction
(
float
f
)
Parameters
Name
Type
Description
f
float
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.