svghmi/widget_meter.ysl2
branchwxPython4
changeset 3330 c3b1a4bfdf0a
parent 3275 1fd8bef23f67
--- a/svghmi/widget_meter.ysl2	Mon Oct 04 07:38:46 2021 +0200
+++ b/svghmi/widget_meter.ysl2	Mon Oct 04 07:41:18 2021 +0200
@@ -10,8 +10,6 @@
     are provided, or if first and second argument are given, then they are used
     as respective minimum and maximum value. Otherwise, value is expected to be
     in between 0 and 100.
-
-    If "value" labeled text is found, then its content is replaced by value.
     ||
 
     shortdesc > Moves "needle" along "range"
@@ -20,8 +18,6 @@
 
     arg name="max" count="optional" accepts="int,real" > maximum value
 
-    // TODO: add printf-like format
-
     path name="value" accepts="HMI_INT,HMI_REAL" > Value to display
     
 }
@@ -59,7 +55,7 @@
 
 widget_defs("Meter") {
     labels("needle range");
-    optional_labels("value min max");
+    optional_labels("min max");
 }