Add justify field to text action

Registered by gregory on 2009-06-11

It would be nice to use in the Polaroid action list.

Basically what would need to be done is take the text width and height:
m_x, m_y = draw.textsize(text,font=font)

and change the orientation. Right now Phatch does justification based on positive or negative offsets. It would be better if the justification is added as two choice fields:
horizontal justification (left,centre,right)
vertical justification (top,middle,bottom)

Blueprint information

Status:
Complete
Approver:
Stani
Priority:
Medium
Drafter:
Stani
Direction:
Approved
Assignee:
Juho Vepsäläinen
Definition:
Approved
Series goal:
Accepted for 0.2
Implementation:
Implemented
Milestone target:
milestone icon 0.2.1
Started by
Stani on 2009-06-12
Completed by
Stani on 2009-06-17

Related branches

Sprints

Whiteboard

Original report:
Polaroid tekst centreren
de mogelijkheid toevoegen om de tekst te centreren in plaats van de positie in px of % weer te geven

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.