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

Add support for flat Buttons

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • 5.7.0 RC
    • None
    • Quick: Controls 2
    • None
    • 08eb526524e92e0d1139cb74e1a7818bcd8d5d6a

    Description

      Flat buttons are common in modern designs. Basically, no background in normal state, but only in pressed state.

      This gets quite close, but not exactly what we want (for example, the Material style should not show the shadow).

      Button {
          background.visible: pressed
      }
      

      Therefore it might be necessary to introduce a bool Button::flat property.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            jpnurmi J-P Nurmi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes