Browse Source

Merge pull request #6235 from Chocobo1/systray_too_large

Fix icon issues
adaptive-webui-19844
sledgehammer999 8 years ago committed by GitHub
parent
commit
3c1f747c25
  1. 4
      src/gui/mainwindow.cpp
  2. 3
      src/webui/www/public/css/dynamicTable.css

4
src/gui/mainwindow.cpp

@ -1288,10 +1288,10 @@ void MainWindow::updateGUI()
html += "qBittorrent"; html += "qBittorrent";
html += "</div>"; html += "</div>";
html += "<div style='vertical-align: baseline; height: 18px;'>"; html += "<div style='vertical-align: baseline; height: 18px;'>";
html += "<img src=':/icons/skin/download.png'/>&nbsp;" + tr("DL speed: %1", "e.g: Download speed: 10 KiB/s").arg(Utils::Misc::friendlyUnit(status.payloadDownloadRate(), true)); html += "<img src=':/icons/skin/download.png' height='14'/>&nbsp;" + tr("DL speed: %1", "e.g: Download speed: 10 KiB/s").arg(Utils::Misc::friendlyUnit(status.payloadDownloadRate(), true));
html += "</div>"; html += "</div>";
html += "<div style='vertical-align: baseline; height: 18px;'>"; html += "<div style='vertical-align: baseline; height: 18px;'>";
html += "<img src=':/icons/skin/seeding.png'/>&nbsp;" + tr("UP speed: %1", "e.g: Upload speed: 10 KiB/s").arg(Utils::Misc::friendlyUnit(status.payloadUploadRate(), true)); html += "<img src=':/icons/skin/seeding.png' height='14'/>&nbsp;" + tr("UP speed: %1", "e.g: Upload speed: 10 KiB/s").arg(Utils::Misc::friendlyUnit(status.payloadUploadRate(), true));
html += "</div>"; html += "</div>";
#else #else
// OSes such as Windows do not support html here // OSes such as Windows do not support html here

3
src/webui/www/public/css/dynamicTable.css

@ -74,7 +74,8 @@
} }
#transferList img.statusIcon { #transferList img.statusIcon {
margin-bottom: -4px; height: 1.3em;
vertical-align: middle;
} }
#trackers th, #trackers th,

Loading…
Cancel
Save