Skip to content

Allow page.text_flow() / TextFlowContext to occupy less than the full width of the page #167

@ElectronicKiwi

Description

@ElectronicKiwi

Using TextFlowContext.at() to position the text_flow at a non-zero x position results in the text_flow occupying the full width of the page.

write_wrapped() calls content_width() which returns the full width of the page regardless of the at(x,y) location.

Suggest write_wrapped should then deduct the cursor_x value so that a text_flow can be indented. Alternatively adding special left and right margins would allow a block of text to be more freely positioned on the page.

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