Carvera-Community / Carvera_Controller

Community developed version of the Carvera Controller
GNU General Public License v2.0
3 stars 1 forks source link

Tooltips #55

Open SergeBakharev opened 1 week ago

SergeBakharev commented 1 week ago

Ideally they would work like fusion360 tooltips where they have an image and text description

SergeBakharev commented 1 week ago

UI overhaul - Tooltips

SergeBakharev commented 1 week ago

If someone helps write the text/images, I can help implement it.

faecorrigan commented 1 week ago

the bluesky version of a tooltip looks like this:

image

it would need to be implemented as an image with text at specific locations for localization. I think using a base class of UI element with a few parameters that all tooltips inherit from. That way they all follow the same standard format. The base class would be kept inside its own separate file to be included.

For practicality's sake, I would start with a vertical box with a title at the top, image in the middle and a multiline text field at the bottom

I have a few samples of how I did it the first time I tried that I can pull up next week and see how they interact based on some of the info from Serge's link: https://stackoverflow.com/questions/34468909/how-to-make-tooltip-using-kivy

Last time I tried this there were issues with the tooltip not hovering at the correct location compared to the mouse due to a weird window offset bug.