florent37/ViewTooltip

Any way to create tooltips without arrows?

Closed this issue · 8 comments

prscX commented

Hi @florent37,

Is their any API through which we can remove or specify height/width of arrows?

Thanks
Pranav

prscX commented

Thanks a lot @florent37 for considering our request.

Please let me know in case any help needed from my end.

Thanks
Pranav

hi, can you try the 1.1.4 please ?
play with .setArrowWidth & .setArrowHeight

prscX commented

Many Thanks @florent37 for taking this on priority and staying on top of this.

I will validate the same from my end and will share the results.

Thanks
Pranav

prscX commented

Thanks @florent37. It is working as expected. Please find below screenshot of tooltip without arrow:

screen shot 2018-03-08 at 6 01 26 am

Is it possible to have padding/margin between button and tooltip? I have tried padding using below snippet but not sure why it is not working, maybe I am missing something. Can you please help me with this:

tooltip = tooltip.padding(100, 100, 100, 100);

Thanks
Pranav

I will try to add an attribute "margin" today

you can use 1.1.5 for this fix and the method .distanceWithView(0)

tested ;)

prscX commented

Many thanks @florent37 for adding API in order to provide distance between view and tooltip.

Thanks
Pranav