Conversation
|
I think a good solution would be to also have some custom text for the tooltip in addition to disable it completely. This would make internationalization much easier. |
|
@sourcebox localization of the text is covered by #426 and setting a custom tooltip is already possible with |
|
@n2 I'm not convinced that having this option per |
|
@emilk Thanks, I had a look into the source and saw that the text was hard-coded. So I was not sure if it can be changed. |
|
@emilk Yes, frankly, I think it's better to remove the default tooltip from widgets like DragValue. Even without considering the issue of internationalization, in different scenarios, the same widget may require different tooltips. It is best to leave the tooltip to the developer, as it is so easy to implement. On the other hand, for some widgets, one should delete tooltips with care, as it is not easy to implement (ie the color_picker button) or is necessary (ie a hyperlink). Should I close this pull request and open an issue to carefully organize the tooltips? |
The DragValue tooltip can be annoying sometimes, it may obscure the widgets below, or degrade the user experience (#548).
Therefore, it is best to allow developers to control whether tooltips are enabled.
Closes #548.