Skip to content
New issue

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

Tabbed output tab title is not rendered properly on tabs other than first #897

Open
6 tasks
tionyustigal opened this issue Dec 13, 2023 · 0 comments
Open
6 tasks

Comments

@tionyustigal
Copy link

Thank you very much for creating and supporting this great application!

I am seeing an issue with the tabs title rendering.
When tabbed output is specified, tab title on tabs other than first is clipped - see attached images.
When a windows is resized while showing a tab with the clipped title, the title is displayed properly on that tab.

This is happening on several different Linux versions including Ubuntu 20.04, etc.

  • OS Ubuntu 20.04, 22.04
  • Python Version 3.9 and 3.11
  • Gooey Version 1.0.8.1
  • Packages:
Gooey 1.0.8.1
numpy 1.26.2
Pillow 10.1.0
pip 23.3
psutil 5.9.6
pygtrie 2.5.0
setuptools 68.1.2
six 1.16.0
wxPython 4.2.1
  • A minimal code example
from gooey import Gooey, GooeyParser

@Gooey(program_name="Gooey Tabbed Groups Issue Report",
       tabbed_groups=True,
       )
def main():
    parser = GooeyParser(description="Second tab title is truncated until window resize")
    
    arg_group1 = parser.add_argument_group("Argument Group 1", description="Argument Group 1 help")

    arg_group1.add_argument("--param1",
			metavar="Parameter 1",
			action="store",
			help="Parameter 1 Help"
			)
			
    arg_group2 = parser.add_argument_group("Argument Group 2", description="Argument Group 2 help")

    arg_group2.add_argument("--param2",
			metavar="Parameter 2",
			action="store",
			help="Parameter 2 Help"
			)

    args = parser.parse_args()

if __name__ == "__main__":
    main()
  • Screenshots are attached
    tab1
    tab2
    tab2resized
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant