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

Cannot programmatically resize QtDialogs dialogs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.13.1
    • Quick: Dialogs
    • None
    • KDE Plasma 5.18 on openSUSE Tumbleweed Linux

    Description

      This doesn't work:

      import QtQuick 2.1
      import QtQuick.Dialogs 1.2 as QtDialogs
      
      QtDialogs.FontDialog {
          width: 700
          height: 700
          title: i18n("Select Font")
          modality: Qt.WindowModal
      }
      

      As a result, the dialog always opens with its default size, which seems to quite often be too low. See https://bugs.kde.org/show_bug.cgi?id=365188

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            pointedstick Nate Graham
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes