fix(ui): visually remove splitview handle
This commit is contained in:
parent
a243c04e29
commit
18acef7fd3
|
@ -27,18 +27,9 @@ SplitView {
|
||||||
chatColumn.onActivated()
|
chatColumn.onActivated()
|
||||||
}
|
}
|
||||||
|
|
||||||
Connections {
|
|
||||||
target: appMain
|
|
||||||
onSettingsLoaded: {
|
|
||||||
// Add recent
|
|
||||||
chatView.restoreState(appSettings.chatSplitView)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Component.onDestruction: appSettings.chatSplitView = this.saveState()
|
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
id: contactColumnLoader
|
id: contactColumnLoader
|
||||||
SplitView.preferredWidth: Style.current.leftTabPrefferedSize
|
SplitView.preferredWidth: Style.current.leftTabPreferredSize
|
||||||
SplitView.minimumWidth: Style.current.leftTabMinimumWidth
|
SplitView.minimumWidth: Style.current.leftTabMinimumWidth
|
||||||
SplitView.maximumWidth: Style.current.leftTabMaximumWidth
|
SplitView.maximumWidth: Style.current.leftTabMaximumWidth
|
||||||
sourceComponent: appSettings.communitiesEnabled && chatsModel.communities.activeCommunity.active ? communtiyColumnComponent : contactsColumnComponent
|
sourceComponent: appSettings.communitiesEnabled && chatsModel.communities.activeCommunity.active ? communtiyColumnComponent : contactsColumnComponent
|
||||||
|
|
|
@ -3,7 +3,7 @@ import QtQuick.Controls 2.13
|
||||||
import "../imports"
|
import "../imports"
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
implicitWidth: 1.2
|
implicitWidth: 0
|
||||||
color: SplitHandle.pressed ? Style.current.darkGrey
|
color: SplitHandle.pressed ? Style.current.darkGrey
|
||||||
: (SplitHandle.hovered ? Qt.darker(Style.current.border, 1.1) : Style.current.transparent)
|
: (SplitHandle.hovered ? Qt.darker(Style.current.border, 1.1) : Style.current.transparent)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue