diff --git a/lib/QUI/Bricks/Brick.php b/lib/QUI/Bricks/Brick.php index 21661cbe2e16799606b02220d4cc704f15ef9fcb..e6c7a413fce8b314215acd498386d6f13efce035 100644 --- a/lib/QUI/Bricks/Brick.php +++ b/lib/QUI/Bricks/Brick.php @@ -171,6 +171,9 @@ protected function _getControl() /* @var $Control \QUI\Control */ $Control = new $Ctrl($this->getSettings()); + $Control->setAttribute('height', $this->getAttribute('height')); + $Control->setAttribute('width', $this->getAttribute('width')); + if ($this->_id) { $Control->addCSSClass('brick-'.$this->_id); }