Setting larger arrow size causes text to be clipped
See original GitHub issueWhen we increase the size of the arrow, it seems to be causing the entire balloon to shrink, which also causes the text to be clipped:
Our settings are roughly like this:
Balloon.Builder(context)
.setText(text)
.setArrowConstraints(ArrowConstraints.ALIGN_ANCHOR)
.setArrowOrientation(ArrowOrientation.TOP)
.setArrowSize(24)
.setPadding(16)
.setTextSize(14f)
.build();
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
text-size-adjust - CSS: Cascading Style Sheets - MDN Web Docs
When an element containing text uses 100% of the screen's width, the algorithm increases its text size, but without modifying the layout. The ......
Read more >Trying to resize △▽ symbols inside list in a table th, but font ...
This still results in large arrows. Can anyone else confirm that it's a firefox only issue? This is just weird, I'll probably just...
Read more >Tip: How to cut and paste without messing up formatting
Using the Paste Options button. Click the down-arrow on the Paste Options button and you'll see a menu with icons that lets you...
Read more >Adjust timeline clip appearance in Final Cut Pro - Apple Support
To decrease the size of audio waveforms for timeline clips, press Control-Option-Down Arrow. To adjust the vertical height of clips in the timeline,...
Read more >How to stop text spilling over in Excel - Ablebits
Learn what causes words and paragraphs to overflow into the next columns and how to prevent Excel cells from spilling over.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This still does not have any effect on the margins (using
1.2.2-alpha01
):Here is the same code using the latest stable
1.2.1
(settingxOff
does not have any effect either, but it looks like there are some default margins):Hi, @dbrant. It is released a new version
1.2.2
. Now we can use below new methods without any constraints.Margin
If the location of the balloon according to the anchor is located at the boundaries on the screen, the balloon will be stick to the end of the screen. In that case, we can resolve by giving margins to the balloon.
Thanks for your issue!