fix: 修复下载列表中进度提示文字显示不完整的问题

QLabel 未处理文字过长的问题

Log: 控件提升为 DLabel,设置文字过长时右侧显示省略号;添加鼠标悬浮提示;固定 item 中应用名称宽度未 120px,保证进度条显示位置对齐
This commit is contained in:
zty199
2023-01-03 21:37:21 +08:00
parent 116f14845e
commit 8b2a61e4b2
2 changed files with 11 additions and 3 deletions

View File

@@ -100,14 +100,14 @@
<item>
<widget class="DLabel" name="label">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>80</width>
<width>120</width>
<height>48</height>
</size>
</property>
@@ -216,7 +216,7 @@
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<widget class="DLabel" name="label_2">
<property name="font">
<font>
<pointsize>9</pointsize>