You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for a great package, makes Atom feel a lot more like an IDE. :)
However, the tooltips for the buttons appear on top of the buttons (I have my toolbar on the left side).
TooltipManager::add has an option to set the position (placement) of the tooltip.
The tooltip position should ideally be opposite of the toolbar position. So if the toolbar is at the top, the tooltip should be shown below; if the toolbar is on the left, the tooltip should be on the right.
This is what I did in tool-bar-button-view.coffee:
ifoptions.tooltip@prop'title', options.tooltip@subscriptions.addatom.tooltips.add(
this,
{
title:options.tooltipdelay:show:0hide:0placement:'right'# Opposite of the toolbar's position
}
)
(I also set the delay to 0, by personal preference).
Do you think this could be made the default behavior?
The text was updated successfully, but these errors were encountered:
I like your idea 💡 of placing the tooltips to the side when the tool-bar is vertical. On a horizontal tool-bar the tooltips are already placed correctly.
Thanks for a great package, makes Atom feel a lot more like an IDE. :)
However, the tooltips for the buttons appear on top of the buttons (I have my toolbar on the left side).
TooltipManager::add
has an option to set the position (placement) of the tooltip.The tooltip position should ideally be opposite of the toolbar position. So if the toolbar is at the top, the tooltip should be shown below; if the toolbar is on the left, the tooltip should be on the right.
This is what I did in
tool-bar-button-view.coffee
:(I also set the delay to 0, by personal preference).
Do you think this could be made the default behavior?
The text was updated successfully, but these errors were encountered: