svghmi/widget_dropdown.ysl2
branchsvghmi
changeset 2931 f51c0e2e0bcb
parent 2930 41edcb8e0a01
child 2932 abb995a30088
--- 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;