Skip to content

Increase height_offset to allow up to 19 new lines.#44

Open
Normanras wants to merge 2 commits into
domdfcoding:masterfrom
Normanras:master
Open

Increase height_offset to allow up to 19 new lines.#44
Normanras wants to merge 2 commits into
domdfcoding:masterfrom
Normanras:master

Conversation

@Normanras

Copy link
Copy Markdown

This PR builds (somewhat foolishly!) on my previous one which only allowed one additional new line. Depending on the monitor size, the height_offset now allows up many more lines I tested it on multiple monitors and it seems to look okay. I also Condensed the test.py so we aren't testing new lines on every test.

It's on my todo list to make it more dynamic and count the number of characters/lines and then adjust accordingly so that there are no limitations. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants