Index: sources/bordertitleblock.cpp
===================================================================
--- sources/bordertitleblock.cpp (révision 3329)
+++ sources/bordertitleblock.cpp (copie de travail)
@@ -330,7 +330,7 @@
if (diagram_rect_ != previous_diagram) emit(borderChanged(previous_diagram, diagram_rect_));
// rectangles relatifs au cartouche
- titleblock_rect_ = QRectF(diagram_rect_.bottomLeft().x(), diagram_rect_.bottomLeft().y(), titleBlockWidth(), titleBlockHeight());
+ titleblock_rect_ = QRectF(diagram_rect_.bottomLeft().x(), diagram_rect_.bottomLeft().y(), titleBlockWidth()/2, titleBlockHeight()*10);
}
/**
@@ -398,9 +398,10 @@
// render the titleblock, using the TitleBlockTemplate object
if (display_titleblock_) {
- qp -> translate(titleblock_rect_.topLeft());
+ QPointF p = titleblock_rect_.topRight();
+ p.setY(p.ry() - titleblock_rect_.height());
+ qp -> translate(p);
titleblock_template_renderer_ -> render(qp, titleblock_rect_.width());
- qp -> translate(-titleblock_rect_.topLeft());
}
qp -> restore();
"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."