Skip to content

Font size in TableCanvas constructor #55

Open

Description

@DustyAtBTW

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()

Activity

  1. DustyAtBTW commented on May 15, 2019

    @DustyAtBTW
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions