View Issue Details

IDProjectCategoryView StatusLast Update
0012830ScribusUser Interfacepublic2014-11-26 15:28
ReporterFirasH Assigned Tojghali  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.5.0svn 
Fixed in Version1.5.0svn 
Summary0012830: [PATCH] Fix wrongly aligned radio buttons (smpstylewidget.ui)
DescriptionFix wrongly aligned radio buttons (smpstylewidget.ui)
Additional Information1.5.0.svn (19638)
TagsNo tags attached.
PatchYes

Activities

FirasH

2014-11-24 23:31

developer  

12830-Patch.diff (4,528 bytes)   
Index: scribus/ui/smpstylewidget.ui
===================================================================
--- scribus/ui/smpstylewidget.ui	(revisione 19638)
+++ scribus/ui/smpstylewidget.ui	(copia locale)
@@ -327,24 +327,7 @@
			 <string>Optical Margins</string>
			</property>
			<layout class="QGridLayout" name="gridLayout_3">
-            <item row="1" column="1" rowspan="3">
-             <widget class="SMRadioButton" name="optMarginRadioRight">
-              <property name="text">
-               <string>Right Only</string>
-              </property>
-             </widget>
-            </item>
-            <item row="0" column="0" rowspan="2">
-             <widget class="SMRadioButton" name="optMarginRadioNone">
-              <property name="text">
-               <string>None</string>
-              </property>
-              <property name="checked">
-               <bool>true</bool>
-              </property>
-             </widget>
-            </item>
-            <item row="4" column="0" colspan="2">
+            <item row="6" column="0" colspan="2">
			  <layout class="QHBoxLayout" name="horizontalLayout_4">
			   <item>
				<widget class="QPushButton" name="optMarginDefaultButton">
@@ -362,20 +345,59 @@
			   </item>
			  </layout>
			 </item>
-            <item row="2" column="0">
-             <widget class="SMRadioButton" name="optMarginRadioLeft">
-              <property name="text">
-               <string>Left Only</string>
-              </property>
-             </widget>
+            <item row="1" column="0" colspan="2">
+             <layout class="QGridLayout" name="gridLayout_5">
+              <item row="0" column="1">
+               <widget class="SMRadioButton" name="optMarginRadioBoth">
+                <property name="sizePolicy">
+                 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+                  <horstretch>0</horstretch>
+                  <verstretch>0</verstretch>
+                 </sizepolicy>
+                </property>
+                <property name="text">
+                 <string>Both Sides</string>
+                </property>
+               </widget>
+              </item>
+              <item row="0" column="0">
+               <widget class="SMRadioButton" name="optMarginRadioNone">
+                <property name="sizePolicy">
+                 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+                  <horstretch>0</horstretch>
+                  <verstretch>0</verstretch>
+                 </sizepolicy>
+                </property>
+                <property name="text">
+                 <string>None</string>
+                </property>
+                <property name="checked">
+                 <bool>true</bool>
+                </property>
+               </widget>
+              </item>
+              <item row="1" column="0">
+               <widget class="SMRadioButton" name="optMarginRadioLeft">
+                <property name="text">
+                 <string>Left Only</string>
+                </property>
+               </widget>
+              </item>
+              <item row="1" column="1">
+               <widget class="SMRadioButton" name="optMarginRadioRight">
+                <property name="sizePolicy">
+                 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+                  <horstretch>0</horstretch>
+                  <verstretch>0</verstretch>
+                 </sizepolicy>
+                </property>
+                <property name="text">
+                 <string>Right Only</string>
+                </property>
+               </widget>
+              </item>
+             </layout>
			 </item>
-            <item row="0" column="1">
-             <widget class="SMRadioButton" name="optMarginRadioBoth">
-              <property name="text">
-               <string>Both Sides</string>
-              </property>
-             </widget>
-            </item>
			</layout>
		   </widget>
		  </item>
@@ -1030,9 +1052,18 @@
		<property name="spacing">
		 <number>5</number>
		</property>
-       <property name="margin">
+       <property name="leftMargin">
		 <number>0</number>
		</property>
+       <property name="topMargin">
+        <number>0</number>
+       </property>
+       <property name="rightMargin">
+        <number>0</number>
+       </property>
+       <property name="bottomMargin">
+        <number>0</number>
+       </property>
		<item>
		 <widget class="QFrame" name="characterBox">
		  <property name="enabled">
12830-Patch.diff (4,528 bytes)   

FirasH

2014-11-24 23:33

developer  

12830-Screen.png (88,168 bytes)   
12830-Screen.png (88,168 bytes)   

FirasH

2014-11-25 12:55

developer  

12830-Patch2.diff (7,657 bytes)   
Index: scribus/ui/smpstylewidget.cpp
===================================================================
--- scribus/ui/smpstylewidget.cpp	(revisione 19638)
+++ scribus/ui/smpstylewidget.cpp	(copia locale)
@@ -20,7 +20,7 @@
	Q_ASSERT(a >  -21473 && b > -21473 && a < 21474 && b < 21474);
	long al = static_cast<long>(10000 * a);
	long bl = static_cast<long>(10000 * b);
-    return al == bl;
+	return al == bl;
 }


@@ -53,7 +53,7 @@
 //	optMarginCombo->addItem(tr("Default"), ParagraphStyle::OM_Default);

	parEffectOffset->setSuffix(unitGetSuffixFromIndex(0));
-
+
	fillBulletStrEditCombo();
	bulletCharTableButton->setIcon(loadIcon("22/insert-table.png"));
	fillNumFormatCombo();
@@ -111,9 +111,9 @@
	//dropCapsBox->setToolTip(      tr("Enable or disable drop cap"));
	dropCapLines->setToolTip(    tr("Drop Cap Lines"));
	bulletCharTableButton->setToolTip(tr("Enhanced Char Table for inserting customs chars as bullets"));
-	parEffectOffset->setToolTip(   tr("Paragraph Effects Chars Offset"));
-	parEffectIndentBox->setToolTip(   tr("Hang Paragraph Effect before paragraph indent"));
-	parEffectCharStyleCombo->setToolTip("<qt>" + tr("Choose chracter style or leave blank for use default paragraph style"));
+	parEffectOffset->setToolTip(         tr("Paragraph Effects Chars Offset"));
+	parEffectIndentBox->setToolTip(      tr("Hang Paragraph Effect before paragraph indent"));
+	parEffectCharStyleCombo->setToolTip( tr("Choose character style or leave blank for use default paragraph style"));
	alignment->setToolTip(       tr("Alignment"));
	tabList->first_->setToolTip( tr("First Line Indent"));
	tabList->left_->setToolTip(  tr("Left Indent"));
@@ -121,7 +121,7 @@
	//CB Unneeded, gets in the way of single widget tooltips
	//tabList->setToolTip(         tr("Tabulators"));

-	minSpaceSpin->setToolTip(tr("Maximum white space compression allowed.\nExpressed as a percentage of the current white space value."));
+	minSpaceSpin->setToolTip(   tr("Maximum white space compression allowed.\nExpressed as a percentage of the current white space value."));
	minSpaceLabel->setToolTip(minSpaceSpin->toolTip());
	minGlyphExtSpin->setToolTip(tr("Maximum compression of glyphs"));
	minGlyphExtLabel->setToolTip(minGlyphExtSpin->toolTip());
@@ -128,12 +128,12 @@
	maxGlyphExtSpin->setToolTip(tr("Maximum extension of glyphs"));
	maxGlyphExtLabel->setToolTip(maxGlyphExtSpin->toolTip());

-	keepLinesStart->setToolTip ("<qt>" + tr ("Ensure that first lines of a paragraph won't end up separated from the rest (known as widow/orphan control)") + "</qt>");
-	keepLinesEnd->setToolTip ("<qt>" + tr ("Ensure that last lines of a paragraph won't end up separated from the rest (known as widow/orphan control)") + "</qt>");
-	keepLabelStart->setToolTip (keepLinesStart->toolTip());
-	keepLabelEnd->setToolTip (keepLinesEnd->toolTip());
-	keepTogether->setToolTip ("<qt>" + tr ("If checked, ensures that the paragraph won't be split across multiple pages or columns") + "</qt>");
-	keepWithNext->setToolTip ("<qt>" + tr ("If checked, automatically moves the paragraph to the next column or page if the next paragraph isn't on the same page or column") + "</qt>");
+	keepLinesStart->setToolTip("<qt>" + tr("Ensure that first lines of a paragraph won't end up separated from the rest (known as widow/orphan control)") + "</qt>");
+	keepLinesEnd->setToolTip("<qt>" + tr("Ensure that last lines of a paragraph won't end up separated from the rest (known as widow/orphan control)") + "</qt>");
+	keepLabelStart->setToolTip(keepLinesStart->toolTip());
+	keepLabelEnd->setToolTip(keepLinesEnd->toolTip());
+	keepTogether->setToolTip("<qt>" + tr("If checked, ensures that the paragraph won't be split across multiple pages or columns") + "</qt>");
+	keepWithNext->setToolTip("<qt>" + tr("If checked, automatically moves the paragraph to the next column or page if the next paragraph isn't on the same page or column") + "</qt>");

 /***********************************/
 /*      End Tooltips               */
@@ -143,7 +143,7 @@
	lineSpacingMode->addItem( tr("Fixed Linespacing"));
	lineSpacingMode->addItem( tr("Automatic Linespacing"));
	lineSpacingMode->addItem( tr("Align to Baseline Grid"));
-
+
 //	optMarginCombo->clear();
 //	optMarginCombo->addItem(tr("None"), ParagraphStyle::OM_None);
 //	optMarginCombo->addItem(tr("Left Protruding"), ParagraphStyle::OM_LeftProtruding);
@@ -161,24 +161,26 @@
	distancesBox->setTitle( tr("Distances and Alignment"));

	//parEffectsBox->setTitle(tr("Paragraph Effects"));
-	dropCapsBox->setTitle( tr("Drop Caps"));
-	bulletBox->setTitle(tr("Bullets"));
-	numBox->setTitle(tr("Numeration"));
-	dropCapsLineLabel->setText( tr("Lines:"));
-	bulletCharLabel->setText(tr("Bullet Char/String"));
+	bulletBox->setTitle(           tr("Bullets"));
+	bulletCharLabel->setText(      tr("Bullet Char/String"));
	bulletCharTableButton->setText(tr("Char Table"));
+
+	numBox->setTitle(       tr("Numeration"));
+	numLevelLabel->setText( tr("Level"));
	numFormatLabel->setText(tr("Numbering Style"));
-	numLevelLabel->setText(tr("Level"));
+	numStartLabel->setText( tr("Start with"));
	numPrefixLabel->setText(tr("Prefix"));
	numSuffixLabel->setText(tr("Suffix"));
-	numStartLabel->setText(tr("Start with"));
-	numRestartOtherBox->setText(tr("Restart after other format"));
+	numRestartOtherBox->setText( tr("Restart after other format"));
	numRestartHigherBox->setText(tr("Restart after higher level"));

+	dropCapsBox->setTitle( tr("Drop Caps"));
+	dropCapsLineLabel->setText( tr("Lines:"));
+
	parEffectCharStyleComboLabel->setText(tr("Character Style for Effect:"));
	distFromTextLabel->setText(tr("Distance from Text:"));
	parentParEffectsButton->setText(tr("Use Parent`s Values"));
-
+
	QFont font1;
	if (font1.pointSize())
		font1.setPointSize(font1.pointSize() *2);
@@ -187,25 +189,25 @@
	((QComboBox*) bulletStrEdit)->setFont(font1);
	(bulletStrEdit->lineEdit())->setFont(font1);

-	tabsBox->setTitle( tr("Tabulators and Indentation"));
+	tabsBox->setTitle(tr("Tabulators and Indentation"));
	tabWidget->setTabText(0, tr("Properties"));
	tabWidget->setTabText(1, tr("Paragraph Effects"));
	tabWidget->setTabText(2, tr("Character Style"));

	advSettingsGroupBox->setTitle( tr("Advanced Settings"));
-	minSpaceLabel->setText( tr("Minimum Space Width:"));
-	glyphExtensionLabel->setText( tr("Glyph Extension "));
-	minGlyphExtLabel->setText( tr("Minimum:", "Glyph Extension"));
-	maxGlyphExtLabel->setText (tr("Maximum:", "Glyph Extension"));
+	minSpaceLabel->setText(        tr("Min. Space Width:"));
+	glyphExtensionLabel->setText(  tr("Glyph Extension "));
+	minGlyphExtLabel->setText(     tr("Min:", "Glyph Extension"));
+	maxGlyphExtLabel->setText(     tr("Max:", "Glyph Extension"));

	opticalMarginsGroupBox->setTitle( tr("Optical Margins"));
-	optMarginRadioNone->setText( tr("None","optical margins") );
-	optMarginRadioBoth->setText( tr("Both Sides","optical margins") );
-	optMarginRadioLeft->setText( tr("Left Only","optical margins") );
-	optMarginRadioRight->setText( tr("Right Only","optical margins") );
+	optMarginRadioNone->setText(      tr("None", "Optical Margins"));
+	optMarginRadioBoth->setText(      tr("Both Sides", "Optical Margins"));
+	optMarginRadioLeft->setText(      tr("Left Only", "Optical Margins"));
+	optMarginRadioRight->setText(     tr("Right Only", "Optical Margins"));

-	optMarginDefaultButton->setText( tr("Reset to Default") );
-	optMarginParentButton->setText( tr("Use Parent Value") );
+	optMarginDefaultButton->setText(  tr("Reset to Default"));
+	optMarginParentButton->setText(   tr("Use Parent Value"));
 }

 void SMPStyleWidget::unitChange(double oldRatio, double newRatio, int unitIndex)
12830-Patch2.diff (7,657 bytes)   

FirasH

2014-11-25 12:55

developer  

12830-2.png (90,870 bytes)   
12830-2.png (90,870 bytes)   

FirasH

2014-11-25 12:58

developer   ~0034245

Uploaded also "12830-Patch2" which orders a bit the "smpstylewidget.cpp" file + a typo + shorter label (see 12830-2 image).

The string with fixed typo is:
"Choose character style or leave blank for use default paragraph style"
what about changing it to:
"Choose character style or leave blank to use default paragraph style"?

FirasH

2014-11-25 20:50

developer  

12830-Full.patch (12,184 bytes)   
Index: scribus/ui/smpstylewidget.ui
===================================================================
--- scribus/ui/smpstylewidget.ui	(revisione 19638)
+++ scribus/ui/smpstylewidget.ui	(copia locale)
@@ -327,24 +327,7 @@
			 <string>Optical Margins</string>
			</property>
			<layout class="QGridLayout" name="gridLayout_3">
-            <item row="1" column="1" rowspan="3">
-             <widget class="SMRadioButton" name="optMarginRadioRight">
-              <property name="text">
-               <string>Right Only</string>
-              </property>
-             </widget>
-            </item>
-            <item row="0" column="0" rowspan="2">
-             <widget class="SMRadioButton" name="optMarginRadioNone">
-              <property name="text">
-               <string>None</string>
-              </property>
-              <property name="checked">
-               <bool>true</bool>
-              </property>
-             </widget>
-            </item>
-            <item row="4" column="0" colspan="2">
+            <item row="6" column="0" colspan="2">
			  <layout class="QHBoxLayout" name="horizontalLayout_4">
			   <item>
				<widget class="QPushButton" name="optMarginDefaultButton">
@@ -362,20 +345,59 @@
			   </item>
			  </layout>
			 </item>
-            <item row="2" column="0">
-             <widget class="SMRadioButton" name="optMarginRadioLeft">
-              <property name="text">
-               <string>Left Only</string>
-              </property>
-             </widget>
+            <item row="1" column="0" colspan="2">
+             <layout class="QGridLayout" name="gridLayout_5">
+              <item row="0" column="1">
+               <widget class="SMRadioButton" name="optMarginRadioBoth">
+                <property name="sizePolicy">
+                 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+                  <horstretch>0</horstretch>
+                  <verstretch>0</verstretch>
+                 </sizepolicy>
+                </property>
+                <property name="text">
+                 <string>Both Sides</string>
+                </property>
+               </widget>
+              </item>
+              <item row="0" column="0">
+               <widget class="SMRadioButton" name="optMarginRadioNone">
+                <property name="sizePolicy">
+                 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+                  <horstretch>0</horstretch>
+                  <verstretch>0</verstretch>
+                 </sizepolicy>
+                </property>
+                <property name="text">
+                 <string>None</string>
+                </property>
+                <property name="checked">
+                 <bool>true</bool>
+                </property>
+               </widget>
+              </item>
+              <item row="1" column="0">
+               <widget class="SMRadioButton" name="optMarginRadioLeft">
+                <property name="text">
+                 <string>Left Only</string>
+                </property>
+               </widget>
+              </item>
+              <item row="1" column="1">
+               <widget class="SMRadioButton" name="optMarginRadioRight">
+                <property name="sizePolicy">
+                 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+                  <horstretch>0</horstretch>
+                  <verstretch>0</verstretch>
+                 </sizepolicy>
+                </property>
+                <property name="text">
+                 <string>Right Only</string>
+                </property>
+               </widget>
+              </item>
+             </layout>
			 </item>
-            <item row="0" column="1">
-             <widget class="SMRadioButton" name="optMarginRadioBoth">
-              <property name="text">
-               <string>Both Sides</string>
-              </property>
-             </widget>
-            </item>
			</layout>
		   </widget>
		  </item>
@@ -1030,9 +1052,18 @@
		<property name="spacing">
		 <number>5</number>
		</property>
-       <property name="margin">
+       <property name="leftMargin">
		 <number>0</number>
		</property>
+       <property name="topMargin">
+        <number>0</number>
+       </property>
+       <property name="rightMargin">
+        <number>0</number>
+       </property>
+       <property name="bottomMargin">
+        <number>0</number>
+       </property>
		<item>
		 <widget class="QFrame" name="characterBox">
		  <property name="enabled">
Index: scribus/ui/smpstylewidget.cpp
===================================================================
--- scribus/ui/smpstylewidget.cpp	(revisione 19638)
+++ scribus/ui/smpstylewidget.cpp	(copia locale)
@@ -20,7 +20,7 @@
	Q_ASSERT(a >  -21473 && b > -21473 && a < 21474 && b < 21474);
	long al = static_cast<long>(10000 * a);
	long bl = static_cast<long>(10000 * b);
-    return al == bl;
+	return al == bl;
 }


@@ -53,7 +53,7 @@
 //	optMarginCombo->addItem(tr("Default"), ParagraphStyle::OM_Default);

	parEffectOffset->setSuffix(unitGetSuffixFromIndex(0));
-
+
	fillBulletStrEditCombo();
	bulletCharTableButton->setIcon(loadIcon("22/insert-table.png"));
	fillNumFormatCombo();
@@ -111,9 +111,9 @@
	//dropCapsBox->setToolTip(      tr("Enable or disable drop cap"));
	dropCapLines->setToolTip(    tr("Drop Cap Lines"));
	bulletCharTableButton->setToolTip(tr("Enhanced Char Table for inserting customs chars as bullets"));
-	parEffectOffset->setToolTip(   tr("Paragraph Effects Chars Offset"));
-	parEffectIndentBox->setToolTip(   tr("Hang Paragraph Effect before paragraph indent"));
-	parEffectCharStyleCombo->setToolTip("<qt>" + tr("Choose chracter style or leave blank for use default paragraph style"));
+	parEffectOffset->setToolTip(         tr("Paragraph Effects Chars Offset"));
+	parEffectIndentBox->setToolTip(      tr("Hang Paragraph Effect before paragraph indent"));
+	parEffectCharStyleCombo->setToolTip( tr("Choose character style or leave blank to use default paragraph style"));
	alignment->setToolTip(       tr("Alignment"));
	tabList->first_->setToolTip( tr("First Line Indent"));
	tabList->left_->setToolTip(  tr("Left Indent"));
@@ -121,7 +121,7 @@
	//CB Unneeded, gets in the way of single widget tooltips
	//tabList->setToolTip(         tr("Tabulators"));

-	minSpaceSpin->setToolTip(tr("Maximum white space compression allowed.\nExpressed as a percentage of the current white space value."));
+	minSpaceSpin->setToolTip(   tr("Maximum white space compression allowed.\nExpressed as a percentage of the current white space value."));
	minSpaceLabel->setToolTip(minSpaceSpin->toolTip());
	minGlyphExtSpin->setToolTip(tr("Maximum compression of glyphs"));
	minGlyphExtLabel->setToolTip(minGlyphExtSpin->toolTip());
@@ -128,12 +128,12 @@
	maxGlyphExtSpin->setToolTip(tr("Maximum extension of glyphs"));
	maxGlyphExtLabel->setToolTip(maxGlyphExtSpin->toolTip());

-	keepLinesStart->setToolTip ("<qt>" + tr ("Ensure that first lines of a paragraph won't end up separated from the rest (known as widow/orphan control)") + "</qt>");
-	keepLinesEnd->setToolTip ("<qt>" + tr ("Ensure that last lines of a paragraph won't end up separated from the rest (known as widow/orphan control)") + "</qt>");
-	keepLabelStart->setToolTip (keepLinesStart->toolTip());
-	keepLabelEnd->setToolTip (keepLinesEnd->toolTip());
-	keepTogether->setToolTip ("<qt>" + tr ("If checked, ensures that the paragraph won't be split across multiple pages or columns") + "</qt>");
-	keepWithNext->setToolTip ("<qt>" + tr ("If checked, automatically moves the paragraph to the next column or page if the next paragraph isn't on the same page or column") + "</qt>");
+	keepLinesStart->setToolTip("<qt>" + tr("Ensure that first lines of a paragraph won't end up separated from the rest (known as widow/orphan control)") + "</qt>");
+	keepLinesEnd->setToolTip("<qt>" + tr("Ensure that last lines of a paragraph won't end up separated from the rest (known as widow/orphan control)") + "</qt>");
+	keepLabelStart->setToolTip(keepLinesStart->toolTip());
+	keepLabelEnd->setToolTip(keepLinesEnd->toolTip());
+	keepTogether->setToolTip("<qt>" + tr("If checked, ensures that the paragraph won't be split across multiple pages or columns") + "</qt>");
+	keepWithNext->setToolTip("<qt>" + tr("If checked, automatically moves the paragraph to the next column or page if the next paragraph isn't on the same page or column") + "</qt>");

 /***********************************/
 /*      End Tooltips               */
@@ -143,7 +143,7 @@
	lineSpacingMode->addItem( tr("Fixed Linespacing"));
	lineSpacingMode->addItem( tr("Automatic Linespacing"));
	lineSpacingMode->addItem( tr("Align to Baseline Grid"));
-
+
 //	optMarginCombo->clear();
 //	optMarginCombo->addItem(tr("None"), ParagraphStyle::OM_None);
 //	optMarginCombo->addItem(tr("Left Protruding"), ParagraphStyle::OM_LeftProtruding);
@@ -161,24 +161,26 @@
	distancesBox->setTitle( tr("Distances and Alignment"));

	//parEffectsBox->setTitle(tr("Paragraph Effects"));
-	dropCapsBox->setTitle( tr("Drop Caps"));
-	bulletBox->setTitle(tr("Bullets"));
-	numBox->setTitle(tr("Numeration"));
-	dropCapsLineLabel->setText( tr("Lines:"));
-	bulletCharLabel->setText(tr("Bullet Char/String"));
+	bulletBox->setTitle(           tr("Bullets"));
+	bulletCharLabel->setText(      tr("Bullet Char/String"));
	bulletCharTableButton->setText(tr("Char Table"));
+
+	numBox->setTitle(       tr("Numeration"));
+	numLevelLabel->setText( tr("Level"));
	numFormatLabel->setText(tr("Numbering Style"));
-	numLevelLabel->setText(tr("Level"));
+	numStartLabel->setText( tr("Start with"));
	numPrefixLabel->setText(tr("Prefix"));
	numSuffixLabel->setText(tr("Suffix"));
-	numStartLabel->setText(tr("Start with"));
-	numRestartOtherBox->setText(tr("Restart after other format"));
+	numRestartOtherBox->setText( tr("Restart after other format"));
	numRestartHigherBox->setText(tr("Restart after higher level"));

+	dropCapsBox->setTitle( tr("Drop Caps"));
+	dropCapsLineLabel->setText( tr("Lines:"));
+
	parEffectCharStyleComboLabel->setText(tr("Character Style for Effect:"));
	distFromTextLabel->setText(tr("Distance from Text:"));
	parentParEffectsButton->setText(tr("Use Parent`s Values"));
-
+
	QFont font1;
	if (font1.pointSize())
		font1.setPointSize(font1.pointSize() *2);
@@ -187,25 +189,25 @@
	((QComboBox*) bulletStrEdit)->setFont(font1);
	(bulletStrEdit->lineEdit())->setFont(font1);

-	tabsBox->setTitle( tr("Tabulators and Indentation"));
+	tabsBox->setTitle(tr("Tabulators and Indentation"));
	tabWidget->setTabText(0, tr("Properties"));
	tabWidget->setTabText(1, tr("Paragraph Effects"));
	tabWidget->setTabText(2, tr("Character Style"));

	advSettingsGroupBox->setTitle( tr("Advanced Settings"));
-	minSpaceLabel->setText( tr("Minimum Space Width:"));
-	glyphExtensionLabel->setText( tr("Glyph Extension "));
-	minGlyphExtLabel->setText( tr("Minimum:", "Glyph Extension"));
-	maxGlyphExtLabel->setText (tr("Maximum:", "Glyph Extension"));
+	minSpaceLabel->setText(        tr("Min. Space Width:"));
+	glyphExtensionLabel->setText(  tr("Glyph Extension "));
+	minGlyphExtLabel->setText(     tr("Min:", "Glyph Extension"));
+	maxGlyphExtLabel->setText(     tr("Max:", "Glyph Extension"));

	opticalMarginsGroupBox->setTitle( tr("Optical Margins"));
-	optMarginRadioNone->setText( tr("None","optical margins") );
-	optMarginRadioBoth->setText( tr("Both Sides","optical margins") );
-	optMarginRadioLeft->setText( tr("Left Only","optical margins") );
-	optMarginRadioRight->setText( tr("Right Only","optical margins") );
+	optMarginRadioNone->setText(      tr("None", "Optical Margins"));
+	optMarginRadioBoth->setText(      tr("Both Sides", "Optical Margins"));
+	optMarginRadioLeft->setText(      tr("Left Only", "Optical Margins"));
+	optMarginRadioRight->setText(     tr("Right Only", "Optical Margins"));

-	optMarginDefaultButton->setText( tr("Reset to Default") );
-	optMarginParentButton->setText( tr("Use Parent Value") );
+	optMarginDefaultButton->setText(  tr("Reset to Default"));
+	optMarginParentButton->setText(   tr("Use Parent Value"));
 }

 void SMPStyleWidget::unitChange(double oldRatio, double newRatio, int unitIndex)
12830-Full.patch (12,184 bytes)   

jghali

2014-11-25 22:05

administrator   ~0034247

Thanks!

FirasH

2014-11-26 15:28

developer   ~0034248

Thanks jghali!

Issue History

Date Modified Username Field Change
2014-11-24 23:30 FirasH New Issue
2014-11-24 23:31 FirasH Summary Fix wrongly aligned radio buttons => Fix wrongly aligned radio buttons (smpstylewidget.ui)
2014-11-24 23:31 FirasH File Added: 12830-Patch.diff
2014-11-24 23:33 FirasH File Added: 12830-Screen.png
2014-11-25 11:15 FirasH Summary Fix wrongly aligned radio buttons (smpstylewidget.ui) => [PATCH] Fix wrongly aligned radio buttons (smpstylewidget.ui)
2014-11-25 12:55 FirasH File Added: 12830-Patch2.diff
2014-11-25 12:55 FirasH File Added: 12830-2.png
2014-11-25 12:58 FirasH Note Added: 0034245
2014-11-25 20:50 FirasH File Added: 12830-Full.patch
2014-11-25 22:05 jghali Note Added: 0034247
2014-11-25 22:05 jghali Status new => resolved
2014-11-25 22:05 jghali Fixed in Version => 1.5.0svn
2014-11-25 22:05 jghali Resolution open => fixed
2014-11-25 22:05 jghali Assigned To => jghali
2014-11-26 15:28 FirasH Note Added: 0034248
2014-11-26 15:28 FirasH Status resolved => closed