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

Font size in TableCanvas constructor #55

Open
DustyAtBTW opened this issue May 15, 2019 · 1 comment
Open

Font size in TableCanvas constructor #55

DustyAtBTW opened this issue May 15, 2019 · 1 comment

Comments

@DustyAtBTW
Copy link

Changing font size in TableCanvas constructor. I set the thefont="Arial 8" and I get ValueError: could not convert string to float: 'r'

I changed the font to Consolas and then I get a value error with float: 'o'

empTKtable = TableCanvas(eDataFrameRIGHT, model=empModel, rowheaderwidth=0, width=425, height=16, tablewidth=600, thefont="Arial 8") empTKtable.show()

@DustyAtBTW
Copy link
Author

Storing the font and size in a list and supplying the list to the constructor allows me to change it though.
tkFont = ["Arial", 8]

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