zmb3 / godoc

Deprecated - use https://atom.io/packages/go-plus instead
MIT License
3 stars 1 forks source link

Some restyling #17

Closed simurai closed 8 years ago

simurai commented 8 years ago

This restyles the tooltip a bit:

screen shot 2016-06-10 at 3 14 39 pm screen shot 2016-06-10 at 3 14 12 pm

Note: I haven't installed Go, so the text is just some dummy text.

simurai commented 8 years ago

btw. this is good timing, because if https://github.com/atom/atom/pull/11875 gets merged, the .close button would be removed. We could keep it in case you think it's useful.

Or another option might be to auto-close the tooltip as soon as you move the cursor away. Or click somewhere outside. Then the close X wouldn't be needed.

zmb3 commented 8 years ago

Thanks so much for this!

I do like the close button. I think closing the tooltip if the mouse is moved away can be jarring. I generally close the tooltip with the esc key, but for new users that's not always easy or intuitive to discover.

simurai commented 8 years ago

ok, I'll make a note about adding the .close button to https://github.com/atom/atom/pull/11875.