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

When using SpriteFonts with Labels text alignment and base alignment properties don't work #484

Closed
eonarheim opened this issue Jul 15, 2015 · 1 comment
Assignees
Labels
bug This issue describes undesirable, incorrect, or unexpected behavior
Milestone

Comments

@eonarheim
Copy link
Member

If you create a label using a SpriteFont then the label.textAlign = ex.TextAlign.Center wont actually center the text in the label. Looking at the current source code the implementation was just overlooked.

@eonarheim eonarheim added bug This issue describes undesirable, incorrect, or unexpected behavior on-deck labels Jul 15, 2015
@eonarheim eonarheim added this to the vNext milestone Jul 15, 2015
@jedeen jedeen modified the milestones: vNext, 0.7 Release Jul 21, 2015
@jedeen jedeen removed the on-deck label Jul 21, 2015
@jedeen jedeen modified the milestones: 0.6 Release, 0.7 Release Aug 19, 2015
@eonarheim eonarheim self-assigned this Oct 9, 2015
eonarheim added a commit that referenced this issue Nov 20, 2015
eonarheim added a commit that referenced this issue Nov 25, 2015
@eonarheim
Copy link
Member Author

Fixed with #542

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue describes undesirable, incorrect, or unexpected behavior
Projects
None yet
Development

No branches or pull requests

2 participants