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

GroupBox: title gets truncated

XMLWordPrintable

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

      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"
              }
          }
      }
      
      

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

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

              Created:
              Updated:

                There are no open Gerrit changes