Some texts in druid has too many line separators

Andreas Köhler andi5.py at gmx.net
Mon Feb 13 04:30:14 EST 2006


On Saturday, 11 Feb 2006, 21:11 CET, David Hampton wrote:
> On Sat, 2006-02-11 at 21:56 +0200, Tommi Vainikainen wrote:
> 
> > while testing new 1.9.0 I noticed in some druid that there was too
> > much line breaks.  This generates bad rendering of text with text
> > breaking in obscure places.  Here is a patch that fixes it in all
> > places I found from glade files.
> 
> I thought I had found all the extraneous line breaks.  Clearly not.
> I've applied your patch to the sources.  Thanks.

Thank you Tommi for catching these line breaks!

Without them we might need to wrap the labels automatically. Attach
patch does that.

-- andi5
-------------- next part --------------
Index: src/gnome/glade/sched-xact.glade
===================================================================
--- src/gnome/glade/sched-xact.glade	(revision 13252)
+++ src/gnome/glade/sched-xact.glade	(working copy)
@@ -5593,7 +5593,7 @@
 		  <property name="use_underline">False</property>
 		  <property name="use_markup">False</property>
 		  <property name="justify">GTK_JUSTIFY_CENTER</property>
-		  <property name="wrap">False</property>
+		  <property name="wrap">True</property>
 		  <property name="selectable">False</property>
 		  <property name="xalign">0.5</property>
 		  <property name="yalign">0.5</property>
Index: src/gnome/glade/account.glade
===================================================================
--- src/gnome/glade/account.glade	(revision 13252)
+++ src/gnome/glade/account.glade	(working copy)
@@ -1281,7 +1281,7 @@
 		  <property name="use_underline">False</property>
 		  <property name="use_markup">False</property>
 		  <property name="justify">GTK_JUSTIFY_LEFT</property>
-		  <property name="wrap">False</property>
+		  <property name="wrap">True</property>
 		  <property name="selectable">False</property>
 		  <property name="xalign">0.5</property>
 		  <property name="yalign">0.5</property>


More information about the gnucash-devel mailing list