Issue #254: Unit Settings default window size too small

This commit is contained in:
Jakub Melka
2025-03-29 19:13:25 +01:00
parent bae1e519a8
commit b2bc121256
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
// Copyright (C) 2020-2021 Jakub Melka
// Copyright (C) 2020-2025 Jakub Melka
//
// This file is part of PDF4QT.
//
@ -37,7 +37,7 @@ SettingsDialog::SettingsDialog(QWidget* parent, DimensionUnit& lengthUnit, Dimen
initComboBox(m_areaUnits, m_areaUnit, ui->areasComboBox);
initComboBox(m_angleUnits, m_angleUnit, ui->anglesComboBox);
setMinimumSize(pdf::PDFWidgetUtils::scaleDPI(this, QSize(320, 160)));
setMinimumSize(pdf::PDFWidgetUtils::scaleDPI(this, QSize(320, 240)));
pdf::PDFWidgetUtils::style(this);
}

View File

@ -42,7 +42,7 @@ SettingsDialog::SettingsDialog(QWidget* parent, const pdf::PDFCMSSettings& setti
ui->cmsProofingColorProfileComboBox->setCurrentIndex(ui->cmsProofingColorProfileComboBox->findData(m_settings.softProofingProfile));
ui->outOfGamutColorEdit->setText(m_settings.outOfGamutColor.name(QColor::HexRgb));
setMinimumSize(pdf::PDFWidgetUtils::scaleDPI(this, QSize(320, 160)));
setMinimumSize(pdf::PDFWidgetUtils::scaleDPI(this, QSize(320, 240)));
pdf::PDFWidgetUtils::style(this);
}

View File

@ -18,7 +18,6 @@
#ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H
#include "softproofingplugin.h"
#include "pdfcms.h"
#include <QDialog>

View File

@ -1,4 +1,5 @@
CURRENT:
- Issue #254: Unit Settings default window size too small
- Issue #248: update version and year in Help > About page
- Issue #247: option to hide cross when adding annotations