mirror of
https://github.com/muesli/telephant
synced 2024-11-22 19:33:06 +00:00
Make list headers transparent
This commit is contained in:
parent
87382ec1f8
commit
b134c51fb2
2 changed files with 17 additions and 6 deletions
|
@ -17,17 +17,26 @@ ColumnLayout {
|
|||
|
||||
headerPositioning: ListView.OverlayHeader
|
||||
|
||||
header: Rectangle {
|
||||
width: parent.width
|
||||
height: 32
|
||||
header: Item {
|
||||
SystemPalette { id: headerPalette; colorGroup: SystemPalette.Active }
|
||||
z: 2
|
||||
color: Material.background
|
||||
|
||||
width: parent.width
|
||||
height: 36
|
||||
Label {
|
||||
z: 3
|
||||
anchors.fill: parent
|
||||
anchors.leftMargin: 10
|
||||
text: name
|
||||
font.pixelSize: 18
|
||||
font.weight: Font.Light
|
||||
verticalAlignment: Label.AlignVCenter
|
||||
color: headerPalette.windowText
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: headerPalette.window
|
||||
opacity: 0.8
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -184,7 +184,9 @@ ApplicationWindow {
|
|||
columns: 2
|
||||
rows: 1
|
||||
anchors.fill: parent
|
||||
anchors.margins: 8
|
||||
anchors.margins: 0
|
||||
columnSpacing: 0
|
||||
rowSpacing: 0
|
||||
|
||||
TweetView {
|
||||
Layout.row: 0
|
||||
|
|
Loading…
Reference in a new issue