My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 136: Anchor_y wrong in MTLabel
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  txprog
Closed:  Jan 2010


 
Reported by Michael....@gmail.com, Dec 8, 2009
What steps will reproduce the problem?
1.
create a MTLabel (e.g. MTLabel(title="issue",
style={"bg-color":(1,.5,.5,.5)}, size=(100,100))
use it, writing will be placed inside the colored rectangle, starting at
the bottom...
2.
set anchor_y="top" (e.g. MTLabel(title="issue", anchor_y="top",
style={"bg-color":(1,.5,.5,.5)}, size=(100,100))
3.
use it -> text is below the rectangle (-> the touch receiving area)

What is the expected output? What do you see instead?
text should then start at the top of the rectangle instead of the bottom


What version of the product are you using? On what operating system?
0.3.1 ubuntu 9.04

Please provide any additional information below.

Dec 8, 2009
#1 Michael....@gmail.com
sorry, it was MTTextInput. I don't know if its also with MTLabel
Dec 12, 2009
Project Member #2 txprog
(No comment was entered for this change.)
Status: Accepted
Labels: Milestone-0.4 Component-Core
Dec 30, 2009
Project Member #3 txprog
(No comment was entered for this change.)
Owner: txprog
Jan 28, 2010
Project Member #4 txprog
Fix + example commited, check examples/widgets/labelanchor.py
Status: Done

Powered by Google Project Hosting