Skip to content

Ribbon width should be computed with floor instead of round #157

Description

@sjakobi

This layout is two characters wide although the ribbon width is 0.5 * 3 = 1.5, which IMHO should be rounded down since it is an upper bound:

> layoutSmart (LayoutOptions (AvailablePerLine 3 0.5)) ("a" <> softline' <> "b")
SChar 'a' ( SChar 'b' SEmpty )

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions