mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #254: Unit Settings default window size too small
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
// Copyright (C) 2020-2021 Jakub Melka
|
// Copyright (C) 2020-2025 Jakub Melka
|
||||||
//
|
//
|
||||||
// This file is part of PDF4QT.
|
// 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_areaUnits, m_areaUnit, ui->areasComboBox);
|
||||||
initComboBox(m_angleUnits, m_angleUnit, ui->anglesComboBox);
|
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);
|
pdf::PDFWidgetUtils::style(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ SettingsDialog::SettingsDialog(QWidget* parent, const pdf::PDFCMSSettings& setti
|
|||||||
ui->cmsProofingColorProfileComboBox->setCurrentIndex(ui->cmsProofingColorProfileComboBox->findData(m_settings.softProofingProfile));
|
ui->cmsProofingColorProfileComboBox->setCurrentIndex(ui->cmsProofingColorProfileComboBox->findData(m_settings.softProofingProfile));
|
||||||
ui->outOfGamutColorEdit->setText(m_settings.outOfGamutColor.name(QColor::HexRgb));
|
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);
|
pdf::PDFWidgetUtils::style(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#ifndef SETTINGSDIALOG_H
|
#ifndef SETTINGSDIALOG_H
|
||||||
#define SETTINGSDIALOG_H
|
#define SETTINGSDIALOG_H
|
||||||
|
|
||||||
#include "softproofingplugin.h"
|
|
||||||
#include "pdfcms.h"
|
#include "pdfcms.h"
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
CURRENT:
|
CURRENT:
|
||||||
|
- Issue #254: Unit Settings default window size too small
|
||||||
- Issue #248: update version and year in Help > About page
|
- Issue #248: update version and year in Help > About page
|
||||||
- Issue #247: option to hide cross when adding annotations
|
- Issue #247: option to hide cross when adding annotations
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user