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

Cannot programmatically resize QtDialogs dialogs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.13.1
    • Fix Version/s: None
    • Component/s: Quick: Dialogs
    • Labels:
      None
    • Environment:
      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

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            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