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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes