From 1351340eb0d9b69bd301079e61284359e5af11fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kriszti=C3=A1n=20L=C3=B6ki?= <krisztian.loki@ess.eu>
Date: Mon, 3 May 2021 17:13:11 +0200
Subject: [PATCH] Textupdate instead of TextSymbol

TextSymbol has a weird bug; it does not always show the value
---
 NON-APPROVED/pss1-pss/PSS1_PSS_Area.bob | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/NON-APPROVED/pss1-pss/PSS1_PSS_Area.bob b/NON-APPROVED/pss1-pss/PSS1_PSS_Area.bob
index ec2ba93c..96a410e9 100644
--- a/NON-APPROVED/pss1-pss/PSS1_PSS_Area.bob
+++ b/NON-APPROVED/pss1-pss/PSS1_PSS_Area.bob
@@ -954,15 +954,9 @@ ScriptUtil.findWidgetByName(widget, "Occupancy warning").setPropertyValue("visib
       </font>
       <vertical_alignment>1</vertical_alignment>
     </widget>
-    <widget type="text-symbol" version="2.0.0">
+    <widget type="textupdate" version="2.0.0">
       <name>HMI_User</name>
       <pv_name>AccPSS:PSS-Area-1:HMI_User</pv_name>
-      <symbols>
-        <symbol>No User</symbol>
-        <symbol>Operator</symbol>
-        <symbol>Admin</symbol>
-        <symbol>RF Team</symbol>
-      </symbols>
       <x>167</x>
       <y>8</y>
       <width>125</width>
@@ -971,7 +965,8 @@ ScriptUtil.findWidgetByName(widget, "Occupancy warning").setPropertyValue("visib
         <font name="LARGE-SANS-BOLD" family="Source Sans Pro" style="BOLD" size="21.0">
         </font>
       </font>
-      <horizontal_alignment>0</horizontal_alignment>
+      <transparent>true</transparent>
+      <vertical_alignment>1</vertical_alignment>
     </widget>
   </widget>
   <widget type="group" version="2.0.0">
-- 
GitLab