-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Label alignment in composer #12928
Comments
Author Name: Médéric RIBREUX (Médéric RIBREUX) I tried to code this enhancement. The attachement is a png file which shows what could be a centered (horizontally) label in the composer. After looking into the code, the source files that need to be modified are in src/core/composer: *** qgscomposerlabel.cpp (alignment attributes) For the moment here is how I implement it: ** the QPainter->drawText (QT native) already deals with vertical and horizontal alignment. My next operation is a GUI implementation of this... I will post a patch as soon as possible ! |
Author Name: Médéric RIBREUX (Médéric RIBREUX) Here is a patch with my implementation. What has been done: What needs to be done: |
Author Name: Médéric RIBREUX (Médéric RIBREUX)
Original Redmine Issue: 2868
Assignee: Marco Hugentobler
One new feature that would be good is the support of label alignment in the composer.
When you have created a label, you can't align it to the right or to the middle of the "label bloc". By default it is only aligned on the left side.
Furthermore, the upper and lower alignment could also be implemented (perhaps on a second time).
The text was updated successfully, but these errors were encountered: