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

Text alignment bug #1

Open
baxelrod-bdai opened this issue Aug 27, 2012 · 0 comments
Open

Text alignment bug #1

baxelrod-bdai opened this issue Aug 27, 2012 · 0 comments

Comments

@baxelrod-bdai
Copy link

There is a slight bug related to text alignment. MIDDLE is actually defined twice which prevents you from achieving some alignments. So i suggest this change. It fixes the bug, and also makes these defines more understandable.

#---text flags
#horizontal
H_LEFT        = 0
H_CENTER      = 1
H_RIGHT       = 2
H_ALIGNED     = 3 #if vertical alignment = 0
H_MIDDLE      = 4 #if vertical alignment = 0
H_FIT         = 5 #if vertical alignment = 0
#vertical
V_BASELINE    = 0
V_BOTTOM      = 1
V_MIDDLE      = 2
V_TOP         = 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant