mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-24 05:25:37 +00:00
Fix availability label & progress label clipped on high DPI displays, closes #3237.
This commit is contained in:
parent
b5adbaef78
commit
f530bb7537
@ -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…
x
Reference in New Issue
Block a user