flutter_xlider icon indicating copy to clipboard operation
flutter_xlider copied to clipboard

FlutterSliderTooltip too small

Open 01xJoao opened this issue 4 years ago • 9 comments

Would love if it would be possible to change the size of the tooltip:

IMG_0258

01xJoao avatar May 23 '20 18:05 01xJoao

Hi. Have you tried to change the textStyle of tooltip and increase the font size?

Ali-Azmoud avatar May 23 '20 18:05 Ali-Azmoud

Thanks for the fast reply.

I'm not using the textStyle since it would not let me use 2 different colors:

Screenshot 2020-05-23 at 19 38 55

01xJoao avatar May 23 '20 18:05 01xJoao

_sliderInfoForceValue method:

Screenshot 2020-05-23 at 19 43 12

01xJoao avatar May 23 '20 18:05 01xJoao

I'm sure that RichText has some properties for textStyle or scaleFactor or something like that as well. please modify those properties and let me know if it works as what you want or not.

Ali-Azmoud avatar May 23 '20 18:05 Ali-Azmoud

the tooltip is wrapped with a FittedBox widget, so I don't think changing font helps. I just fixed it now. and it would be available in the next version.

Ali-Azmoud avatar May 23 '20 19:05 Ali-Azmoud

that is great! I will wait. Thank you

01xJoao avatar May 23 '20 21:05 01xJoao

Is there any news on this? I've just run into the same issue and it looks like the tooltip is constrained by the width of the handle, which makes it difficult to include words in the tooltip

smc13 avatar Jul 09 '20 00:07 smc13

Yes the issue still exists.

01xJoao avatar Jul 09 '20 14:07 01xJoao

Any update on this or work-arounds?

The tooltip would be really great, but it's so tiny when just showing the Day and hour (like: 'Thu, 9 PM') as to make the tool tip less than useful.

RickBoyerDev avatar Aug 27 '20 13:08 RickBoyerDev