Thanks for sending me the module.
The correct implementation of the \XLite\Module\Dev-ID\Module-ID\View\Subcategories class should be as follows:
PHP Code:
<?php
namespace XLite\Module\Dev-ID\Module-ID\View;
abstract class Subcategories extends \XLite\View\Subcategories implements \XLite\Base\IDecorator
{
public function setWidgetParams(array $params)
{
parent::setWidgetParams($params);
$this->widgetParams[static::PARAM_ICON_MAX_WIDTH]->setValue(300);
$this->widgetParams[static::PARAM_ICON_MAX_HEIGHT]->setValue(300);
}
}
In other words, you should decorate the setWidgetParams() method instead of defineWidgetParams() one.