new collapsible text box widget

This commit is contained in:
2018-07-28 15:39:15 +02:00
parent fa9325577f
commit 3f8fa07a82
11 changed files with 210 additions and 29 deletions
+5
View File
@@ -31,6 +31,11 @@ class WidgetFactory
"</div>";
}
public function collapsible($text, $thrSize, $maxHeight)
{
return new CollapsibleTextBoxWidget($text, $thrSize, $maxHeight);
}
private function baseWidget($view, $name, $label)
{
return (new Widget($view, $name, $label))->layout($this->labelCols, $this->fieldCols);