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

QLayout::SetMinimumSize doesn't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.6.0, 5.9.1
    • Widgets: Layout
    • None

    Description

      I have a MainWindow with minimum size 300px.
      This Window contains a layout with 3 buttons, each minimum size 200px.

      if I set this layout to setSizeConstraint( QLayout::SetMinimumSize ) I would expect that the window can not get smaller than 600px. But it can.
      This should be the behaviour of SetDefaultConstraint as described in the help.

      See attached .ui file

      Attachments

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

        Activity

          People

            smd Jan Arve
            jirauser46025 user-3dfd7 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes