B4J Question BBLabel Alignment

MarcoRome

Expert
Licensed User
Longtime User
Hi All.
The BBLabel is TOP_LEFT alignment but in any case the BBLabel is centered.
How can I align it to the left?
Thank you
Marco

upload_2019-11-7_12-27-50.png


upload_2019-11-7_12-26-58.png
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
The alignment property (currently) doesn't affect the BBLabel alignment. It is part of the default properties that always appear with custom views.

Use the latest version of BCTextEngine and change the alignment yourself with:
B4X:
BBLabel1.DisableResizeEvent = True
BBLabel1.ForegroundImageView.Left = 5dip 'set this after you set the text.
 
Upvote 0

MarcoRome

Expert
Licensed User
Longtime User
The alignment property (currently) doesn't affect the BBLabel alignment. It is part of the default properties that always appear with custom views.

Use the latest version of BCTextEngine and change the alignment yourself with:
B4X:
BBLabel1.DisableResizeEvent = True
BBLabel1.ForegroundImageView.Left = 5dip 'set this after you set the text.

Work.
Also B4J is really Great.
And you have my contribute to supporting B4J ( 40€ )
Thank again Erel
 
Upvote 0
Top