Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-8740

Unexpected layout behaviour with QLabel and word wrap enabled in conjunction with spacer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • Some future release
    • 4.6.2
    • None
    • Linux gentoo qt 4.6.2.
      Also linux ubuntu 8.04 qt 4.3.4

      In the ui attached, you can see by means of the designer preview that the widget can be shrinked undefinitely.
      If you disable word wrap of the QLabel, then the widget behaves as expected.
      Alternatively, if you set size hint to 0x0 of the vertical spacer, it works as expected too.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            jacum Giacomo
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes