Android Question [Solved]BBCodeview problem

William Lancee

Well-Known Member
Licensed User
Longtime User
B4X:
    BBCV.mBase.SetLayoutAnimated(0, 0, 0, Activity.width, Activity.Height)
    TextEngine.Initialize(Activity)
    BBCV.Text = $"[Alignment=Center][TextSize=40][Color=Black][b]This is a centered Title[/b][/Color][/TextSize][/Alignment]"$


This results in a truncated text. I am not sure where to put this information.
 

Attachments

  • problem.png
    problem.png
    3.1 KB · Views: 115

William Lancee

Well-Known Member
Licensed User
Longtime User
You are right again. That line in combination with the wrong anchors (left, top) caused my problem. Centered anchors without that line solved it.

Edit: That in combination with a landscape orientation where activity width>height.
 
Last edited:
Upvote 0
Top