Make the room list slightly narrower by default
`GridUnit * 17` is 306px, which is quite wide. Given that the focus in this app is on the content (i.e. the chat view) let's make the sidebar a 36px narrower to make more room for content. BUG: 496722 FIXED-IN: 24.12.0
This commit is contained in:
@@ -325,7 +325,7 @@ Kirigami.Page {
|
||||
QtObject {
|
||||
id: _private
|
||||
property int currentWidth: NeoChatConfig.collapsed ? collapsedSize : defaultWidth
|
||||
readonly property int defaultWidth: Kirigami.Units.gridUnit * 17
|
||||
readonly property int defaultWidth: Kirigami.Units.gridUnit * 15
|
||||
readonly property int collapseWidth: Kirigami.Units.gridUnit * 10
|
||||
readonly property int collapsedSize: Kirigami.Units.gridUnit + (NeoChatConfig.compactRoomList ? 0 : Kirigami.Units.largeSpacing * 2) + Kirigami.Units.largeSpacing * 2 + (scrollView.QQC2.ScrollBar.vertical.visible ? scrollView.QQC2.ScrollBar.vertical.width : 0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user