Skip to content
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

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

Merged
merged 2 commits into from
Apr 10, 2020

Conversation

hecrj
Copy link
Member

@hecrj hecrj commented Apr 9, 2020

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
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