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

GroupBox: title gets truncated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • Some future release
    • 5.1.0 RC1, 5.2.1
    • Quick: Controls 1
    • None

    Description

      The text gets truncated. Contents rect of the text seems wrong here:

      import QtQuick 2.1
      import QtQuick.Controls 1.0
      import QtQuick.Layouts 1.0
      
      Column{
          width: 600
          height: 360
      
          GroupBox {
              width: parent.width
              checkable: true
              title: "this is a very very very very very very very very very very very very long text"
              Component.onCompleted: print("width " + implicitWidth)
              CheckBox {
                  text: "A"
              }
          }
      
          GroupBox {
              width: parent.width
              checkable: true
              title: "This is a long long long long long long long text"
              CheckBox {
                  text: "A"
              }
          }
      
          GroupBox {
              width: parent.width
              checkable: false
              title: "truncated too :("
              CheckBox {
                  text: "A"
              }
          }
      
          GroupBox {
              width: parent.width
              checkable: false
              title: "Hello :)"
              CheckBox {
                  text: "A"
              }
          }
      }
      
      

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            carochao Caroline Chao (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes