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

Default margins in QtQuick dialog.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.3.0 RC1
    • 5.3.0 Beta1
    • Quick: Dialogs
    • None
    • Qt 5.3.0 beta 1 on ubuntu 12.04

    Description

      We create our custom dialog from QtQuick::Dialog. To customize the dialog, we would like to set the background color, that is assign a rectangle that fills the dialog area. This is not possible because the dialog has defined left and top margins to allocate its children elements.

      An example is attached.

      Is it possible configure the dialog margins?

      Joaquim Duran

      Attachments

        1. Desktop_x11.png
          Desktop_x11.png
          7 kB
        2. dialog.qml
          0.6 kB
        3. Embedded.png
          Embedded.png
          6 kB
        4. full-filling-dialog-example-android.png
          full-filling-dialog-example-android.png
          39 kB

        Issue Links

          For Gerrit Dashboard: QTBUG-38056
          # Subject Branch Project Status CR V

          Activity

            People

              srutledg Shawn Rutledge
              jduran Joaquim Duran
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes