mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 09:48:37 +12:00
Qt: Fix small controller icon in pad settings for high dpi modes
This commit is contained in:
parent
c727760537
commit
9ff6486c85
1 changed files with 1 additions and 2 deletions
|
@ -187,9 +187,8 @@ pad_settings_dialog::pad_settings_dialog(QWidget *parent, const GameInfo *game)
|
|||
// Set up first tab
|
||||
OnTabChanged(0);
|
||||
|
||||
// repaint and resize controller image
|
||||
// repaint controller image
|
||||
ui->l_controller->setPixmap(gui::utils::get_colorized_pixmap(*ui->l_controller->pixmap(), QColor(), gui::utils::get_label_color("l_controller"), false, true));
|
||||
ui->l_controller->setMaximumSize(ui->gb_description->sizeHint().width(), ui->l_controller->maximumHeight() * ui->gb_description->sizeHint().width() / ui->l_controller->maximumWidth());
|
||||
|
||||
// set tab layout constraint to the first tab
|
||||
m_tabs->widget(0)->layout()->setSizeConstraint(QLayout::SetFixedSize);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue