mimblewimble / grin-gui

GUI for Grin Node + Wallet
GNU General Public License v3.0
20 stars 21 forks source link

Lock chart caption when it runs off the screen #44

Closed flomang closed 1 year ago

flomang commented 1 year ago

When the user hovers right on the chart the caption flies off the screen.

Solution A: lock the caption to a specific area

Solution B: Send in a second mouse index in the mouse event loop that sends in the offset of the caption as well. If width of caption > chart bounds send in max offset of caption. This allows the caption to follow the eyes of the user but keeps the caption from going out of bounds on the right.

Solution C: This chart stuff is nonesense and silly - throw it out.

flomang commented 1 year ago

49 Should take care of this for now. The offsets and supported currencies now need to be determined.