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

QStyleOptionMenuItem::Margin is not used by anything

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.15.7, 6.x
    • Widgets: Styles
    • None

    Description

      QStyleOptionMenuItem::Margin is described by documentation as "The margin of the menu", but it isn't actually used anywhere in qtbase, so it cannot be used without making a custom widget class.

      I personally don't need it, but when writing QStyles, it adds a bit of uncertainty. It seems that it's usually handled like QStyleOptionMenuItem::EmptyArea in Qt's QStyles.

      Attachments

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

        Activity

          People

            tpochep Timur Pocheptsov
            ndavis Noah Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes