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

MenuBar has no properties for it's dimension and position

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.1.0 Beta 1
    • Quick: Controls 1
    • None

    Description

      There is no width, height, x, y and anchors properties. There is __contentItem, but it is internal, so it is not intended for use.
      There is an qml component ApplicationWindow with the following description: "ApplicationWindow is a Window that adds convenience for positioning items, such as MenuBar, ToolBar, and StatusBar in a platform independent manner." But this is wrong, because this not item for CONVENIENCE, this is the ONLY WAY to use MenuBar properly.
      If I use Window instead and I want to add MenuBar, I must use that internal properties.
      Also, if I have some customized window, that uses derived from QQuickWindow class, I can't use ApplicationWindow.

      Attachments

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

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            krnekit Nikita Krupenko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes