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

Add support for flat Buttons

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes