diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/scada/scada-symbol.models.ts b/ui-ngx/src/app/modules/home/components/widget/lib/scada/scada-symbol.models.ts index 91297bb689..f15e7a30c7 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/scada/scada-symbol.models.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/scada/scada-symbol.models.ts @@ -972,12 +972,12 @@ export class ScadaSymbolObject { fontSetClasses.forEach(className => textElement.addClass(className)); textElement.font({size: `${size}px`}); textElement.attr({ - style: `font-size: ${size}px` + style: `font-size: ${size}px`, + 'text-anchor': 'start' }); textElement.fill(color); const tspan = textElement.first(); tspan.attr({ - 'text-anchor': 'start', 'dominant-baseline': 'hanging' }); return of(textElement);