Version 5.0.0 release
This commit is contained in:
1 parent
90e8c7e903
commit
a3a4a9ccbd
651 files changed
+7275
-9481
No files matched your search
+16
-16
@@ -642,25 +642,25 @@ class Area
|
||||
{
|
||||
$obj = new static( [], $id );
|
||||
|
||||
$child = new static( [
|
||||
'otherOptions' => [
|
||||
'gapSize' => 20
|
||||
]
|
||||
], $id, $obj );
|
||||
|
||||
/* Set any custom options passed in */
|
||||
foreach( $options as $option => $value )
|
||||
{
|
||||
$child->setOption( $option, $value );
|
||||
}
|
||||
|
||||
/* Add them individually so that they get cleaned up and defined properly */
|
||||
/* Each widget becomes its own sub-area */
|
||||
foreach( $widgets as $widget )
|
||||
{
|
||||
$child->addWidget( $widget );
|
||||
}
|
||||
$child = new static( [
|
||||
'otherOptions' => [
|
||||
'gapSize' => 20
|
||||
]
|
||||
], $id, $obj );
|
||||
|
||||
$obj->addChild( $child );
|
||||
/* Set any custom options passed in */
|
||||
foreach( $options as $option => $value )
|
||||
{
|
||||
$child->setOption( $option, $value );
|
||||
}
|
||||
|
||||
$child->addWidget( $widget );
|
||||
|
||||
$obj->addChild( $child );
|
||||
}
|
||||
|
||||
return $obj;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user