diff -r 41edcb8e0a01 -r f51c0e2e0bcb svghmi/widget_dropdown.ysl2 --- a/svghmi/widget_dropdown.ysl2 Tue Apr 14 17:17:35 2020 +0200 +++ b/svghmi/widget_dropdown.ysl2 Tue Apr 14 17:31:45 2020 +0200 @@ -14,9 +14,11 @@ lmargin = this.text_bbox.x - this.box_bbox.x; tmargin = this.text_bbox.y - this.box_bbox.y; this.margins = [lmargin, tmargin].map(x => Math.max(x,0)); - this.content = ["one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", - "eleven", "twelve", "thirteen", "fourteen", "fifteen"]; - //this.content = ["one", "two", "three", "four", "5", "6"]; + //this.content = ["one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", + // "eleven", "twelve", "thirteen", "fourteen", "fifteen"]; + this.content = [ + ``foreach "arg" | "«@value»", + ]; this.menu_offset = 0; this.lift = 0; this.opened = false;