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

Improve min_width calculation using longest word #98

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Dec 20, 2017

  1. Improve min_width calculation using longest word

    Instead of using the styled length of 'M', use the styled width of the longest word in order to calculate the min_width of a Cell's Text.
    
    This will prevent words from being split in the middle.
    
    There may be an issue with this if the total of the min_widths add up to more than the available width. We should look into the tests around that to see if something will error or if this is being accounted for already.
    Ashton committed Dec 20, 2017
    Configuration menu
    Copy the full SHA
    4d9b656 View commit details
    Browse the repository at this point in the history