B4J Question [Solved] BBLabel Text Alignment

Midimaster

Active Member
Licensed User
I have a form (Main Window) and inside a Pane AboutPane with the same size and inside the pane a BBLabel AboutLabel.

In the Designer everything looks nice. The AboutLabel is on the left side of the AboutPane.
1601466149958.png

I fill the AboutLabel with styled text (BCTextEngine) and would expect, that the text appears left asigned. but this happens:
1601466171576.png


What do I do wrong?

the builing of the source text is very simple:
B4X:
    Dim t As String="[alignment=left][vertical=0]" & BAS.ChangeText("","FFFFFF",28) & Translator.Translate("Song-Info") & "..." & CRLF& CRLF& CRLF
    t=t  & BAS.ChangeText(Translator.Translate("Composer"),"FF7700",28)& CRLF
...
    AboutLabel.Text=inhalt
    AboutPane.Visible=True

It looks like the text is centered. Did I forget anything?
 
Top