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

the align property (of @text) #58

Closed
Mouvedia opened this issue Jul 16, 2012 · 1 comment
Closed

the align property (of @text) #58

Mouvedia opened this issue Jul 16, 2012 · 1 comment
Labels

Comments

@Mouvedia
Copy link
Member

We currently have this

@text {
align: (left) | right | center | justify | <number>; //for horizontal alignment
}

I am proposing of adding vertical alignment too:

@text {
align: (left) | right | center | justify | <number> , (baseline) | sup | sub | top | bottom | middle | <number>;
}

But there's a caveat: setting only the horizontal one will require a value for the vertical one:

@text {
align: left, sup;
}

In these cases we can use alignX/Y:

@text {
alignY: sup;
}
@Mouvedia
Copy link
Member Author

Closing this as a duplicate of #57.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant