diff options
| author | Al12rs <gabriel.cortesi@outlook.com> | 2018-12-22 01:55:52 +0100 |
|---|---|---|
| committer | Al12rs <gabriel.cortesi@outlook.com> | 2018-12-22 01:55:52 +0100 |
| commit | 101d656709cc82a763f8f82e2de0c46257a5d5d9 (patch) | |
| tree | fcc84a836821598c6fd88e9ea491ee03c3cc79ae /src | |
| parent | 549db7d3318d8c6479d180fc249ea9b0d6e7b27c (diff) | |
Removed pixel limit on downloads tab, inclreased character limit to 120.
Diffstat (limited to 'src')
| -rw-r--r-- | src/downloadlistwidget.cpp | 4 | ||||
| -rw-r--r-- | src/downloadlistwidget.ui | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/downloadlistwidget.cpp b/src/downloadlistwidget.cpp index 34a90534..c62d774c 100644 --- a/src/downloadlistwidget.cpp +++ b/src/downloadlistwidget.cpp @@ -120,8 +120,8 @@ void DownloadListWidgetDelegate::paintPendingDownload(int downloadIndex) const void DownloadListWidgetDelegate::paintRegularDownload(int downloadIndex) const
{
QString name = m_MetaDisplay ? m_Manager->getDisplayName(downloadIndex) : m_Manager->getFileName(downloadIndex);
- if (name.length() > 53) {
- name.truncate(50);
+ if (name.length() > 120) {
+ name.truncate(120);
name.append("...");
}
m_NameLabel->setText(name);
diff --git a/src/downloadlistwidget.ui b/src/downloadlistwidget.ui index 9e238509..112ca231 100644 --- a/src/downloadlistwidget.ui +++ b/src/downloadlistwidget.ui @@ -53,7 +53,7 @@ </property>
<property name="maximumSize">
<size>
- <width>323</width>
+ <width>16777215</width>
<height>16777215</height>
</size>
</property>
@@ -69,7 +69,7 @@ </property>
<property name="sizeHint" stdset="0">
<size>
- <width>40</width>
+ <width>10</width>
<height>20</height>
</size>
</property>
@@ -84,12 +84,12 @@ </item>
<item>
<widget class="QLabel" name="label_2">
+ <property name="visible">
+ <bool>false</bool>
+ </property>
<property name="text">
<string notr="true">KB</string>
</property>
- <property name="visible">
- <bool>false</bool>
- </property>
</widget>
</item>
</layout>
|
