wimpie3 Well-Known Member Licensed User Longtime User Nov 10, 2021 #1 How do I change the width/height of a BBScrollingLabel in code? Both properties are not supported in the editor.
How do I change the width/height of a BBScrollingLabel in code? Both properties are not supported in the editor.
M Mahares Expert Licensed User Longtime User Nov 10, 2021 #2 This works for me: B4X: ScrollingLabel2.mBase.Width=50dip ScrollingLabel2.mBase.height=100dip ScrollingLabel2.mBase.Color=xui.Color_Magenta Upvote 0
This works for me: B4X: ScrollingLabel2.mBase.Width=50dip ScrollingLabel2.mBase.height=100dip ScrollingLabel2.mBase.Color=xui.Color_Magenta
wimpie3 Well-Known Member Licensed User Longtime User Nov 10, 2021 #3 BBScrollingLabel does not have the mBase property. Upvote 0
M Mahares Expert Licensed User Longtime User Nov 10, 2021 #4 wimpie3 said: BBScrollingLabel does not have the mBase property. Click to expand... 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: Nov 10, 2021 Upvote 0
wimpie3 said: BBScrollingLabel does not have the mBase property. Click to expand... 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.
Erel B4X founder Staff member Licensed User Longtime User Nov 11, 2021 #5 Extract the source code and make mBase + Base_Resize public. Resize mBase and then call Base_Resize. Upvote 0
wimpie3 Well-Known Member Licensed User Longtime User Nov 11, 2021 #6 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
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).