-
-
Notifications
You must be signed in to change notification settings - Fork 695
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
Add line_height_factor to canvas #3217
Open
jannikhoesch
wants to merge
27
commits into
beeware:main
Choose a base branch
from
Heroldpls:fix-2144
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 17 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
9c3a3a8
feat: Add line height factor
jannikhoesch d9466fb
feat: Update macOS backend (#11)
jannikhoesch 31dc150
feat: Windows: Update canvas.py to use line_height_factor (#13)
Heroldpls 0acea1f
refactor: Improve formatting of write_text and measure_text (#16)
Trighap52 1c44b4f
feat: Change default value of line_height_factor (#18)
jannikhoesch f73e493
Add line_height_factor to write_text and measure_text #2
karindev 1bb06c4
feat: line_height_factor iOS (#29)
Heroldpls 44bf721
Update core api tests to account for line_height_factor
karindev e4cc9b8
feat: line_height_factor for linux (#31)
Heroldpls 4ca6962
feat: line_height_factor for iOS (#30)
Heroldpls ce0160c
fix: remove default value and correct parameter order (#35)
karindev 35e597f
fix: fix windows backend bug (#33)
karindev c916546
fix: Fix bug in iOS backend (#38)
jannikhoesch fdf4b9a
fix: fix bug in linux backend (#42)
jannikhoesch 3048a93
feat: add line height slider to canvas (#32)
amaekh f248714
doc: delete changefiles
jannikhoesch ee512b6
doc: edit changefile
jannikhoesch 501f3c1
fix: missing multiply by line height factor
karindev c61fb7e
refactor: change line_height_factor to line_height (#53)
Heroldpls 766cbe6
feat: add None as valid parameter for line_height
karindev 0b14e10
Merge branch 'beeware:main' into main
karindev e39a6c3
feat: add line height test to testbed (#44)
jannikhoesch 5f1bc44
feat: change line_height to scale by font size
karindev 2603c76
Merge pull request #63 from Heroldpls/main
jannikhoesch 3b9190d
fix: update testbed reference images
karindev 9098a9b
fix: update testbed reference images
jannikhoesch 8823ce5
doc: Remove changefiles
jannikhoesch File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
A line_height argument can now be used to change the line height of multiline text. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.