Bug? Uneven line spacing inside BBCodeView paragraph (No Bug - My Error)

William Lancee

Well-Known Member
Licensed User
Longtime User
In the image below the A line spacing is only 80% of the B spacing.
There are no line breaks in the paragraph. The settings are shown below.
I have attached a small project.

It happens at other times, somehow related to fontsize, width, and the letters in the line.
I suspect that this is not a bug, but just my misunderstanding of MinGapBetweenLines.

B4X:
    tEngine.MinGapBetweenLines = 5dip
    tEngine.SpaceBetweenLines = 20dip

bbcvLineSpacing2.jpg
 

Attachments

  • Project.zip
    9.2 KB · Views: 72

William Lancee

Well-Known Member
Licensed User
Longtime User
I searched and good lord I already brought this up before! My apologies. That was only 2.5 years ago :oops:


My own solution based on @Erel explanation works perfectly.
 
Last edited:
Top