mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
Fix availability label & progress label clipped on high DPI displays, closes #3237.
This commit is contained in:
parent
b5adbaef78
commit
f530bb7537
2 changed files with 392 additions and 477 deletions
|
@ -113,13 +113,19 @@ PropertiesWidget::PropertiesWidget(QWidget *parent, MainWindow* main_window, Tra
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Downloaded pieces progress bar
|
// Downloaded pieces progress bar
|
||||||
|
tempProgressBarArea->setVisible(false);
|
||||||
downloaded_pieces = new DownloadedPiecesBar(this);
|
downloaded_pieces = new DownloadedPiecesBar(this);
|
||||||
ProgressHLayout->insertWidget(1, downloaded_pieces);
|
groupBarLayout->addWidget(downloaded_pieces, 0, 1);
|
||||||
downloaded_pieces->setFixedHeight(barHeight);
|
downloaded_pieces->setFixedHeight(barHeight);
|
||||||
|
downloaded_pieces->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
||||||
|
|
||||||
// Pieces availability bar
|
// Pieces availability bar
|
||||||
|
tempAvailabilityBarArea->setVisible(false);
|
||||||
pieces_availability = new PieceAvailabilityBar(this);
|
pieces_availability = new PieceAvailabilityBar(this);
|
||||||
ProgressHLayout_2->insertWidget(1, pieces_availability);
|
groupBarLayout->addWidget(pieces_availability, 1, 1);
|
||||||
pieces_availability->setFixedHeight(barHeight);
|
pieces_availability->setFixedHeight(barHeight);
|
||||||
|
pieces_availability->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
||||||
|
|
||||||
// Tracker list
|
// Tracker list
|
||||||
trackerList = new TrackerList(this);
|
trackerList = new TrackerList(this);
|
||||||
connect(trackerUpButton, SIGNAL(clicked()), trackerList, SLOT(moveSelectionUp()));
|
connect(trackerUpButton, SIGNAL(clicked()), trackerList, SLOT(moveSelectionUp()));
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue