mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-21 16:50:53 +01:00
Various improvements for RTL languages.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1527 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -689,6 +689,8 @@ void TitleBlockTemplateView::loadTemplate(TitleBlockTemplate *tbt) {
|
||||
|
||||
// assign the layout to a basic QGraphicsWidget
|
||||
form_ = new QGraphicsWidget();
|
||||
// enforce the layout direction to avoid reversing the template rendering
|
||||
form_ -> setLayoutDirection(Qt::LeftToRight);
|
||||
form_ -> setLayout(tbgrid_);
|
||||
scene() -> addItem(form_);
|
||||
adjustSceneRect();
|
||||
|
||||
Reference in New Issue
Block a user