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

Default margins in QtQuick dialog.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.3.0 Beta1
    • Fix Version/s: 5.3.0 RC1
    • Component/s: Quick: Dialogs
    • Labels:
      None
    • Environment:
      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

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

            Activity

              People

              Assignee:
              srutledg Shawn Rutledge
              Reporter:
              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