mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 17:05:55 +01:00
With the new General preference Show Tool Cards (showToolCards, off by default) and Show Tool Tips on, resting the pointer on a tool button in the Tools panel, a floating flyout or a toolbar made with New Toolbar shows a small card in place of the one-line tool tip, and resting it on a flyout's row shows one too. The card has the tool's icon, name and shortcut, one sentence on what the tool does, and one line for each action of the tool's hint-bar text, with the modifier keys named for the platform. The descriptions live next to the tool catalog (tool_description); a tool without one keeps its one-line tool tip. With the preference off the toolbar behaves as before, and the checkbox is dimmed while Show Tool Tips is off. The card holds no widget that takes a click, so the pointer and the keyboard stay with the toolbar. It sits beside its button inside the window: beside a flyout it goes on the side the flyout opened toward, past its grab bar, and on a floating flyout it goes below the strip, or above it when there is no room below. Where the window has no room for it, the button keeps its one-line tool tip (a flyout row shows none). It goes away on any press, release, key, modifier key, scroll or pinch, and comes back only after the pointer leaves the button. While a group's flyout is open, only the flyout's rows show cards. Every complete catalog has rows for the preference and the descriptions.