Skip to content
Snippets Groups Projects

qml: make header color transparent by default in `TableViewExt`

  1. Mar 16, 2025
    • Fatih Uzunoğlu's avatar
      qml: do not set `headerColor` in `MusicAlbumsGridExpandDelegate` · 567be206
      Fatih Uzunoğlu authored and Steve Lhomme's avatar Steve Lhomme committed
      The background color is the same as header color, there is no
      need to have extra coloring in the header.
      567be206
    • Fatih Uzunoğlu's avatar
      qml: make header color transparent by default in `TableViewExt` · b898bd73
      Fatih Uzunoğlu authored and Steve Lhomme's avatar Steve Lhomme committed
      Having a header color by default does not make sense here:
      - There is header background color but not background color for the rest.
      - Views are not controls, and are often placed within controls where
      background is handled properly.
      - A purely transparent rectangle does not create a scene graph node thus
      not rendered. This is considered an optimization for rendering. In this
      case, since the background is likely to be the same as the background
      color of the parent control, the area is painted twice with the same
      color. If the color needs to be different, the property can be overridden
      to deviate from transparent color.
      b898bd73
Loading