r15856 by fschmid - Add a small margin to the popups (should look a little better now).

scribus-commit scribus-commit at lists.scribus.net
Sun Nov 14 19:23:06 CET 2010


Author: fschmid
Date: Sun Nov 14 18:23:06 2010
New Revision: 15856

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15856
Log:
Add a small margin to the popups (should look a little better now).

Modified:
    trunk/Scribus/scribus/ui/modetoolbar.cpp
    trunk/Scribus/scribus/ui/styleselect.cpp

Modified: trunk/Scribus/scribus/ui/modetoolbar.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15856&path=/trunk/Scribus/scribus/ui/modetoolbar.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/modetoolbar.cpp (original)
+++ trunk/Scribus/scribus/ui/modetoolbar.cpp Sun Nov 14 18:23:06 2010
@@ -78,7 +78,7 @@
 	propWidget = new QWidget();
 	group1Layout = new QGridLayout( propWidget );
 	group1Layout->setSpacing( 3 );
-	group1Layout->setMargin( 0 );
+	group1Layout->setMargin( 2 );
 	group1Layout->setAlignment( Qt::AlignTop );
 	Angle = new ScrSpinBox( -180, 180, propWidget, 6 );
 	Angle->setValue( 0 );
@@ -86,7 +86,7 @@
 	group1Layout->addWidget( Angle, 0, 1 );
 	group1Layout->addWidget( AngleTxt, 0 , 0 );
 	PWidth = new ScrSpinBox( 0, 100, propWidget, 0 );
-	PWidth->setValue( 5 );
+	PWidth->setValue( 10 );
 	PWidthTxt = new QLabel( tr("Width:"), propWidget );
 	group1Layout->addWidget( PWidth, 1, 1 );
 	group1Layout->addWidget( PWidthTxt, 1 , 0 );

Modified: trunk/Scribus/scribus/ui/styleselect.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15856&path=/trunk/Scribus/scribus/ui/styleselect.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/styleselect.cpp (original)
+++ trunk/Scribus/scribus/ui/styleselect.cpp Sun Nov 14 18:23:06 2010
@@ -16,7 +16,7 @@
 {
 	group1Layout = new QGridLayout( this );
 	group1Layout->setSpacing( 3 );
-	group1Layout->setMargin( 0 );
+	group1Layout->setMargin( 2 );
 	group1Layout->setAlignment( Qt::AlignTop );
 	LPos = new ScrSpinBox( -0.1, 100, this, 0 );
 	LPos->setValue( -0.1 );
@@ -49,7 +49,7 @@
 {
 	group1Layout = new QGridLayout(this);
 	group1Layout->setSpacing( 3 );
-	group1Layout->setMargin( 0 );
+	group1Layout->setMargin( 2 );
 	group1Layout->setAlignment( Qt::AlignTop );
 	LPos = new ScrSpinBox( -0.1, 100, this, 0 );
 	LPos->setValue( -0.1 );
@@ -82,7 +82,7 @@
 {
 	group1Layout = new QGridLayout( this );
 	group1Layout->setSpacing( 3 );
-	group1Layout->setMargin( 0 );
+	group1Layout->setMargin( 2 );
 	group1Layout->setAlignment( Qt::AlignTop );
 	LWidth = new ScrSpinBox( 0, 100, this, 0 );
 	LWidth->setValue( 1 );
@@ -103,7 +103,7 @@
 {
 	group1Layout = new QGridLayout( this );
 	group1Layout->setSpacing( 3 );
-	group1Layout->setMargin( 0 );
+	group1Layout->setMargin( 2 );
 	group1Layout->setAlignment( Qt::AlignTop );
 	Xoffset = new ScrSpinBox( -100, 100, this, 0 );
 	Xoffset->setValue( 5 );




More information about the scribus-commit mailing list