mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-16 00:00:03 +01:00
add file property to customProperties of image Widget (WIP)
This commit is contained in:
parent
e09f69bd70
commit
407a406738
1 changed files with 2 additions and 1 deletions
|
@ -118,12 +118,13 @@ class WidgetFactory {
|
|||
widget.customProperties.yMax = 10;
|
||||
widget.customProperties.yUseMinMax = false;
|
||||
break;
|
||||
case 'Image':
|
||||
case 'Image':
|
||||
widget.minWidth = 20;
|
||||
widget.minHeight = 20;
|
||||
widget.width = 200;
|
||||
widget.height = 200;
|
||||
widget.customProperties.lockAspect = true;
|
||||
widget.customProperties.file = 1; // ID of image file, -1 means non selected
|
||||
break;
|
||||
case 'Button':
|
||||
widget.minWidth = 100;
|
||||
|
|
Loading…
Add table
Reference in a new issue