Android Question Change size BBScrollingLabel

wimpie3

Well-Known Member
Licensed User
Longtime User
How do I change the width/height of a BBScrollingLabel in code? Both properties are not supported in the editor.
 

Mahares

Expert
Licensed User
Longtime User
This works for me:
B4X:
ScrollingLabel2.mBase.Width=50dip
    ScrollingLabel2.mBase.height=100dip
    ScrollingLabel2.mBase.Color=xui.Color_Magenta
 
Upvote 0

Mahares

Expert
Licensed User
Longtime User
BBScrollingLabel does not have the mBase property.
I thought it is the same as XUI Views scrolling label which has it. Apparently not. Sorry. Yes, I do get confused with the B4X, XUI and BB nomenclature.
 
Last edited:
Upvote 0

wimpie3

Well-Known Member
Licensed User
Longtime User
Thanks. Would be cool if this could be added to the official library (I'm sure I'm not the only one who was looking for the mBase property).
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…