Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    [SOLVED]QPlainTextEdit layout bug

    General and Desktop
    2
    4
    1317
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mbnoimi last edited by

      Hi,

      As you know Qt supports auto text layout for all Qt input widgets but recently I noticed that QPlainTextEdit doesn't!!

      Could anyone tell me if this is wrong or right before filing a new bug report.

      As you can see in this screenshot QLineEdit works fine:
      http://i.imgur.com/vmvQvi3.png

      While QPlainTextEdit doesn't!
      http://i.imgur.com/VCOS7xj.png

      PS
      I couldn't find any temporarily solution for this issue because this widget works with plain text only so I couldn't add "text-align: right;" for example.

      1 Reply Last reply Reply Quote 0
      • Chris Kawa
        Chris Kawa Moderators last edited by

        Seems like this happened before, so I guess this is a regression: "[#QTBUG-7516]":https://bugreports.qt-project.org/browse/QTBUG-7516

        1 Reply Last reply Reply Quote 0
        • M
          mbnoimi last edited by

          Indeed this issue reported before although bug ticket says it done but it seems not!

          I'll file a new bug report to see.

          1 Reply Last reply Reply Quote 0
          • M
            mbnoimi last edited by

            I created a new ticket in this link
            https://bugreports.qt-project.org/browse/QTBUG-29341

            1 Reply Last reply Reply Quote 0
            • First post
              Last post