We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The issue can be seen with this code:
from textual.app import App from textual.binding import Binding class HelpLayoutApp(App[None]): BINDINGS = [ Binding("f1", "gndn1", tooltip="This doesn't line up"), Binding("f2", "gndn2", description="Does stuff", tooltip="This is fine"), ] def on_mount(self) -> None: self.action_show_help_panel() if __name__ == "__main__": HelpLayoutApp().run()
giving this:
note the extra space before the tooltip for f1.
The text was updated successfully, but these errors were encountered:
Don't place a space before a key's tooltip if there is no description
1525e18
Fixes Textualize#5436
Successfully merging a pull request may close this issue.
The issue can be seen with this code:
giving this:
note the extra space before the tooltip for f1.
The text was updated successfully, but these errors were encountered: