Commit 7cd3ba7a authored by Thomas BOUTROUE's avatar Thomas BOUTROUE

Fix StringValueDisplay size

parent b6760ff2
......@@ -12,6 +12,7 @@ Item {
property color background : Style.colorWindow;
property string unit : "";
property string legend : "";
property bool fullString : true;
Rectangle {
radius: Math.round (size * 0.15);
......@@ -39,7 +40,7 @@ Item {
text: {
var ret = "";
for (var charIdx = 0; charIdx < len; ++charIdx) {
ret += "W";
ret += (fullString ? "W" : "0");
}
return ret;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment