Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Multi-lined text in QLabel problem

Multi-lined text in QLabel problem

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.6k Views 1 Watching
  • 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.
  • F Offline
    F Offline
    foxtog
    wrote on last edited by
    #1

    Hello,

    I'm using Qt 4.7 version.

    I have a multilined rich text in QLabel. When my application running in a full-screen mode, all the lines of the label are shown correctly. However, if I reduce window size, lines, beginning from the second one, are cut off so the rest of the line is displayed as dots. The thing is that the second line, etc. are no longer when the first one thus it seems that their too big length is not the reason for the cutting.

    Any ideas?
    Probably, it's just the right behaviour?

    Thanks in advance.

    1 Reply Last reply
    0
    • F Offline
      F Offline
      Franzk
      wrote on last edited by
      #2

      "QLabel::setWordWrap()":http://qt-project.org/doc/qt-5/qlabel.html#wordWrap-prop

      "Horse sense is the thing a horse has which keeps it from betting on people." -- W.C. Fields

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • F Offline
        F Offline
        foxtog
        wrote on last edited by
        #3

        This doesn't help. I've already tried it.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved