Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions panels/dock/OverflowContainer.qml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Item {
ListView {
id: listView
anchors.fill: parent
clip: true
orientation: useColumnLayout ? ListView.Vertical : ListView.Horizontal
layoutDirection: Qt.LeftToRight
verticalLayoutDirection: ListView.TopToBottom
Expand Down
7 changes: 7 additions & 0 deletions panels/dock/package/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ Window {
// 时尚模式下,dockRightPart 在 gridLayout 右侧,之间需要扣除 dockSpacing
// 同时保留左右悬浮间距,避免窗口铺满屏幕后圆角边框被屏幕边缘裁剪。
space -= Math.ceil(gridLayout.columnSpacing) * 2 + fashionDock.floatingMargin * 2;
} else if (gridLayout) {
// 非时尚模式下扣除 GridLayout 列间距,避免中间区域与右侧托盘区域重叠
let spacing = Math.ceil(gridLayout.columnSpacing);
space -= spacing;
if (dockLeftPart.visible) {
space -= spacing;
}
}
return Math.max(0, space);
}
Expand Down
Loading