View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0014866 | Scribus | User Interface | public | 2017-06-17 10:45 | 2017-06-17 14:58 |
Reporter | FirasH | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 1.5.4.svn | ||||
Summary | 0014866: Output to File: text line and Change button height changes based on dialog size | ||||
Description | See attached screenshot. Patch is tested. | ||||
Steps To Reproduce | 0) Create a new document 1) Go to: File > Export > Save as PDF... 2) Resize the height of the dialog QLineEdit and QPushButton (red area in screenshot) resize by a few pixels resulting in not coherent dialog appearance. | ||||
Additional Information | 1.5.4.svn (22069) | ||||
Tags | No tags attached. | ||||
Patch | Yes | ||||
|
|
|
14866-Patch.diff (1,005 bytes)
diff --git a/scribus/ui/pdfexportdialog.cpp b/scribus/ui/pdfexportdialog.cpp --- a/scribus/ui/pdfexportdialog.cpp +++ b/scribus/ui/pdfexportdialog.cpp @@ -73,7 +73,8 @@ NameLayout->setMargin( 10 ); NameLayout->setAlignment( Qt::AlignTop ); fileNameLineEdit = new QLineEdit( Name ); - fileNameLineEdit->setMinimumSize( QSize( 268, 22 ) ); + fileNameLineEdit->setMinimumWidth( 268 ); + fileNameLineEdit->setFixedHeight( 32 ); if (!m_opts.fileName.isEmpty()) fileNameLineEdit->setText( QDir::toNativeSeparators(m_opts.fileName) ); else @@ -102,7 +103,8 @@ NameLayout->addWidget( fileNameLineEdit, 0, 0 ); changeButton = new QPushButton( Name ); changeButton->setText( tr( "Cha&nge..." ) ); - changeButton->setMinimumSize( QSize( 88, 24 ) ); + changeButton->setMinimumWidth( 88 ); + changeButton->setFixedHeight( 32 ); NameLayout->addWidget( changeButton, 0, 1 ); multiFile = new QCheckBox( tr( "Output one file for eac&h page" ), Name ); multiFile->setChecked(m_opts.doMultiFile); |
|
This behaviour is not visible on Windows with current 1.5.4.svn snapshot. Issue is noticeable on openSUSE Tumbleweed with KDE. |