You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue seems to be similar to this one: #372
However that issue seemed to be related to supporting multiple languages, while I'm seeing this problem even for a simple use-case, using a static layout.
I don't know how the layout is constructed by the library to include the arrow icon, etc., but my feeling is that something might be off there when calculating the height in certain use-cases.
Expected Behavior:
Height should be calculated properly and content should not be cut off.
The text was updated successfully, but these errors were encountered:
Hey @scorpeeon, this behavior is expected. To address it, you can specify the balloon width by using setWidthRatio(0.9f) for a percentage-based width or setWidth(450) for a fixed width in pixels.
@skydoves My problem is not with the width or default lack of horizontal spacing, I know that can be added easily - my problem is about the layout content getting cut vertically. It might not be super clear from the previous image, so I'm attaching another one to point out what I mean:
Please complete the following information:
Describe the Bug:
Hey folks, an issue I noticed is that when I set a custom layout and the height of the ballon to be wrapped:
I noticed that the bottom of the text tends to get cut off.
See attached screenshot:
When I include the same layout on a regular Android layout, I don't see any problems:
Sample layout:
The issue seems to be similar to this one:
#372
However that issue seemed to be related to supporting multiple languages, while I'm seeing this problem even for a simple use-case, using a static layout.
I don't know how the layout is constructed by the library to include the arrow icon, etc., but my feeling is that something might be off there when calculating the height in certain use-cases.
Expected Behavior:
Height should be calculated properly and content should not be cut off.
The text was updated successfully, but these errors were encountered: