View Issue Details

IDProjectCategoryView StatusLast Update
0014866ScribusUser Interfacepublic2017-06-17 14:58
ReporterFirasH Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version1.5.4.svn 
Summary0014866: Output to File: text line and Change button height changes based on dialog size
DescriptionSee attached screenshot. Patch is tested.
Steps To Reproduce0) 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 Information1.5.4.svn (22069)
TagsNo tags attached.
PatchYes

Activities

FirasH

2017-06-17 10:45

reporter  

14866-Screenshot.png (79,744 bytes)   
14866-Screenshot.png (79,744 bytes)   

FirasH

2017-06-17 10:45

reporter  

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);
14866-Patch.diff (1,005 bytes)   

FirasH

2017-06-17 14:58

reporter   ~0044053

This behaviour is not visible on Windows with current 1.5.4.svn snapshot.
Issue is noticeable on openSUSE Tumbleweed with KDE.

Issue History

Date Modified Username Field Change
2017-06-17 10:45 FirasH New Issue
2017-06-17 10:45 FirasH File Added: 14866-Screenshot.png
2017-06-17 10:45 FirasH File Added: 14866-Patch.diff
2017-06-17 14:58 FirasH Note Added: 0044053