fix: fix handle being to ugly and channel list interfering with handle
This commit is contained in:
parent
9683b7a79e
commit
61d62eea79
|
@ -15,11 +15,8 @@ Rectangle {
|
|||
id: wrapper
|
||||
color: ListView.isCurrentItem ? Theme.lightBlue : Theme.transparent
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: Theme.padding
|
||||
anchors.top: applicationWindow.top
|
||||
anchors.topMargin: 0
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: Theme.padding
|
||||
radius: 8
|
||||
// Hide the box if it is filtered out
|
||||
property bool isVisible: searchStr == "" || name.includes(searchStr)
|
||||
|
|
|
@ -14,7 +14,12 @@ Item {
|
|||
|
||||
ListView {
|
||||
id: chatGroupsListView
|
||||
anchors.fill: parent
|
||||
anchors.top: parent.top
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.right: parent.right
|
||||
anchors.left: parent.left
|
||||
anchors.rightMargin: Theme.padding
|
||||
anchors.leftMargin: Theme.padding
|
||||
model: chatsModel.chats
|
||||
delegate: Channel {
|
||||
name: model.name
|
||||
|
|
|
@ -3,8 +3,7 @@ import QtQuick.Controls 2.13
|
|||
import "../imports"
|
||||
|
||||
Rectangle {
|
||||
// FIXME setting this 1 is prettier, but makes the handle complety unusable (too small to grab)
|
||||
implicitWidth: 2
|
||||
implicitWidth: 1.2
|
||||
color: SplitHandle.pressed ? Theme.darkGrey
|
||||
: (SplitHandle.hovered ? Qt.darker(Theme.grey, 1.1) : Theme.grey)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue