Closed InesaFitsner closed 2 months ago
Instead of tooltip, some text with tooltip properties is displayed.
I expected to see tooltip with gradient.
macOS
0.24.1
Yes, it used to work in a previous Flet version (please specify the version in additional details)
It used to work when Tooltip used to be a Control (0.21.2)
No response
Here is the output on my end:
Was issue with my environment
Duplicate Check
Describe the bug
Instead of tooltip, some text with tooltip properties is displayed.
Code sample
Code
```python import math import flet as ft def main(page): text = ft.Text( value="Hover to see tooltip", tooltip=ft.Tooltip( message="This is tooltip", padding=20, border_radius=10, text_style=ft.TextStyle(size=20, color=ft.colors.WHITE), gradient=ft.LinearGradient( begin=ft.alignment.top_left, end=ft.alignment.Alignment(0.8, 1), colors=[ "0xff1f005c", "0xff5b0060", "0xff870160", "0xffac255e", "0xffca485c", "0xffe16b5c", "0xfff39060", "0xffffb56b", ], tile_mode=ft.GradientTileMode.MIRROR, rotation=math.pi / 3, ), ), ) page.add(text) ft.app(target=main) ```To reproduce
Expected behavior
I expected to see tooltip with gradient.
Screenshots / Videos
Captures
[Upload media here]Operating System
macOS
Operating system details
macOS
Flet version
0.24.1
Regression
Yes, it used to work in a previous Flet version (please specify the version in additional details)
Suggestions
It used to work when Tooltip used to be a Control (0.21.2)
Logs
Logs
```console [Paste your logs here] ```Additional details
No response