Skip to content

Commit

Permalink
fix: Resolve the issue of overlapping display of recently deleted tag…
Browse files Browse the repository at this point in the history
… content and recovery button

   Resolve the issue of overlapping display of recently deleted tag content and recovery button

Log: Resolve the issue of overlapping display of recently deleted tag content and recovery button
Bug: https://pms.uniontech.com/bug-view-269761.html
  • Loading branch information
starhcq committed Aug 29, 2024
1 parent 9045dcc commit c5f40b7
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,19 @@ BaseView {
topMargin: 10
left: parent.left
}

width: restoreSelectedBtn.visible ? (restoreSelectedBtn.x - recentDelLabel.x) : (filterCombo.x - recentDelLabel.x)
font: DTK.fontManager.t6
text: qsTr("The files will be permanently deleted after the days shown on them")
text: textMetics.elidedText

TextMetrics {
id: textMetics

elide: Text.ElideRight
elideWidth: recentDelTipLabel.width
font: recentDelTipLabel.font
text: qsTr("The files will be permanently deleted after the days shown on them")
}
}

//删除全部按钮
Expand Down

0 comments on commit c5f40b7

Please sign in to comment.