scrollbars QOL updates
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 10s
Python / lint-format (pull_request) Successful in 17s
Python / test (pull_request) Successful in 29s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m10s

This commit is contained in:
2026-06-13 12:56:53 +02:00
parent 4b7ba30272
commit f1dbff1208
5 changed files with 127 additions and 137 deletions
+9 -2
View File
@@ -99,7 +99,7 @@ Item {
}
}
CustomClippingRect {
Item {
id: entries
anchors.bottom: parent.bottom
@@ -107,12 +107,12 @@ Item {
anchors.top: search.bottom
anchors.topMargin: Appearance.spacing.normal
implicitWidth: Config.clipboard.sizes.width
radius: Appearance.rounding.small
CustomListView {
id: view
anchors.fill: parent
cacheBuffer: (root.itemHeight + spacing) * 2
highlightFollowsCurrentItem: false
highlightRangeMode: ListView.ApplyRange
preferredHighlightBegin: 0
@@ -121,6 +121,7 @@ Item {
CustomScrollBar.vertical: CustomScrollBar {
flickable: view
minimumSize: 0.1
}
delegate: RowLayout {
id: clipItem
@@ -255,6 +256,12 @@ Item {
ClipHistory.currentEntry = currentItem.modelData;
ClipHistory.refreshPreview();
}
CustomClippingWrapperRect {
anchors.fill: parent
child: view.contentItem
radius: Appearance.rounding.small
}
}
}
}