mirror of
https://github.com/muesli/telephant
synced 2025-02-16 19:48:24 +00:00
Tweak list header to be slightly transparent
This commit is contained in:
parent
b73193a837
commit
3502479dbe
2 changed files with 5 additions and 8 deletions
|
@ -18,24 +18,22 @@ ColumnLayout {
|
|||
headerPositioning: ListView.OverlayHeader
|
||||
|
||||
header: Item {
|
||||
SystemPalette { id: headerPalette; colorGroup: SystemPalette.Active }
|
||||
z: 2
|
||||
width: parent.width
|
||||
height: 36
|
||||
|
||||
Label {
|
||||
z: 3
|
||||
anchors.fill: parent
|
||||
anchors.leftMargin: 10
|
||||
anchors.leftMargin: 8
|
||||
text: name
|
||||
font.pixelSize: 18
|
||||
font.weight: Font.Light
|
||||
verticalAlignment: Label.AlignVCenter
|
||||
color: headerPalette.windowText
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
Pane {
|
||||
anchors.fill: parent
|
||||
color: headerPalette.window
|
||||
opacity: 0.8
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,12 +40,10 @@ ApplicationWindow {
|
|||
Component {
|
||||
id: messagesDelegate
|
||||
|
||||
TweetDelegate {
|
||||
}
|
||||
TweetDelegate { }
|
||||
}
|
||||
|
||||
header: ToolBar {
|
||||
|
||||
/* MouseArea {
|
||||
anchors.fill: parent;
|
||||
property variant clickPos: "1,1"
|
||||
|
@ -60,6 +58,7 @@ ApplicationWindow {
|
|||
mainWindow.y += delta.y;
|
||||
}
|
||||
} */
|
||||
|
||||
RowLayout {
|
||||
spacing: 20
|
||||
anchors.fill: parent
|
||||
|
|
Loading…
Add table
Reference in a new issue