Skip to content

Align text in iced_wgpu on a case-by-case basis#281

Merged
hecrj merged 2 commits into
masterfrom
fix/canvas-text-alignment
Apr 10, 2020
Merged

Align text in iced_wgpu on a case-by-case basis#281
hecrj merged 2 commits into
masterfrom
fix/canvas-text-alignment

Conversation

@hecrj

@hecrj hecrj commented Apr 9, 2020

Copy link
Copy Markdown
Member

Fixes #280.

@hecrj hecrj added the bug Something isn't working label Apr 9, 2020
@hecrj hecrj added this to the 0.1.1 milestone Apr 9, 2020
@hecrj hecrj self-assigned this Apr 9, 2020
@hecrj hecrj changed the title Align text in iced_wgpu in a case-by-case basis Align text in iced_wgpu on a case-by-case basis Apr 9, 2020
@hecrj hecrj force-pushed the fix/canvas-text-alignment branch from b898431 to b549b50 Compare April 9, 2020 23:39
@clarkmoody

Copy link
Copy Markdown
Contributor

Tested and works. I've got both HorizontalAlignment::Center and VerticalAlignment::Bottom working for frame.fill_text. Thanks!

@clarkmoody clarkmoody mentioned this pull request Apr 10, 2020
4 tasks
@hecrj hecrj merged commit e941eab into master Apr 10, 2020
@hecrj hecrj deleted the fix/canvas-text-alignment branch April 10, 2020 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Centered Text in Canvas

2 participants