Skip to content

Dynamic wrapping for long names for better layout rendering in legend_tree.py #10

Description

@yan-sln

In : https://github.com/ecolabdata/secateur/blob/main/core/export/pdf/legend/legend_tree.py

wrapped_name = "\n".join(textwrap.wrap(node.name(), width=100)) -> should depend on the .qpt template font size, instead of just 100 magic number.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions