fix(issues:I7X845):修复左侧滚动分割线长度不正确问题

This commit is contained in:
qiqi 2023-12-05 16:22:10 +08:00
parent 1170567ac1
commit 33db766be0
3 changed files with 11 additions and 10 deletions

View File

@ -28,6 +28,7 @@ Item {
property string title: "" property string title: ""
property string idSelect: "" property string idSelect: ""
property bool folderEditStatus: false property bool folderEditStatus: false
property int viewContentY: appListView.view.contentY
signal labelItemClicked() signal labelItemClicked()
signal openFolderPageSignal(string folderId, string folderName) signal openFolderPageSignal(string folderId, string folderName)
function labelSelection(labelId) { function labelSelection(labelId) {

View File

@ -33,16 +33,6 @@ MouseArea {
hoverEnabled: true hoverEnabled: true
clip: true clip: true
AppControls2.StyleBackground {
anchors.top: parent.top
width: parent.width
height: 1
useStyleTransparent: false
alpha: 0.15
paletteRole: Palette.Text
visible: listView.contentY > 0
}
RowLayout { RowLayout {
anchors.fill: parent anchors.fill: parent
spacing: 0 spacing: 0

View File

@ -41,6 +41,16 @@ SwipeView {
Item { Item {
id: appListBase id: appListBase
AppControls2.StyleBackground {
anchors.top: parent.top
width: parent.width
height: 1
useStyleTransparent: false
alpha: 0.15
paletteRole: Palette.Text
visible: appList.viewContentY > 0 && appList.visible
}
AppList { AppList {
id: appList id: appList
anchors.fill: parent anchors.fill: parent