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

setting text alignment in options #2

benaryorg opened this Issue Nov 25, 2018 · 2 comments


None yet
2 participants

benaryorg commented Nov 25, 2018

It would be great if one could set the horizontalAlignment in the settings.
Preferably as a dropdown with all the settings from the documentation:

Text.AlignLeft, Text.AlignRight, Text.AlignHCenter and Text.AlignJustify

I tested this already (although hardcoded to Text.AlignJustify) by setting the horizontalAlignment for the Label over there:

Label {
id: textArea
x: Theme.horizontalPageMargin
width: parent.width - 2*x


This comment has been minimized.


fuchsmich commented Nov 28, 2018

Hi @benaryorg

Justify works, but Center and Right break pages with long lines like the cheatsheet.


This comment has been minimized.

benaryorg commented Nov 28, 2018

I see.
Seems to be just the code blocks there though, I got some very long lines in my files and the word-wrap works just fine.
There is no proper handling for such long lines in either mode though, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment