2007-09-27 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/docgen/CairoDoc.py: Really fix text position in the box. svn: r9021
This commit is contained in:
parent
e2f73de019
commit
1ce7c2e543
@ -1,3 +1,6 @@
|
||||
2007-09-27 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
|
||||
* src/docgen/CairoDoc.py: Really fix text position in the box.
|
||||
|
||||
2007-09-27 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
|
||||
* src/docgen/PdfDoc.py: Fix pagination problems.
|
||||
* src/docgen/CairoDoc.py: Fix pagination problem. Fix text position in
|
||||
|
@ -1221,7 +1221,7 @@ class CairoDoc(BaseDoc.BaseDoc, BaseDoc.TextDoc, BaseDoc.DrawDoc):
|
||||
x_offset = 0.2
|
||||
|
||||
new_text = GtkDocText(paragraph_style, 'center', text,
|
||||
x_offset , y + h / 2, angle=0)
|
||||
x + x_offset , y + h / 2, angle=0)
|
||||
self._active_element.add_child(new_text)
|
||||
|
||||
def draw_text(self, style_name, text, x, y):
|
||||
|
Loading…
Reference in New Issue
Block a user