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



 

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

Work.
Also B4J is really Great.
And you have my contribute to supporting B4J ( 40€ )
Thank again Erel
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…