[evolvis-commits] r8139: Replace spaces with   in tab title to prevent ugliness when a tab title is very long and broken across several lines↵

mirabilos at evolvis.org mirabilos at evolvis.org
Thu Feb 24 15:58:12 CET 2011


Author: mirabilos
Date: 2011-02-24 15:58:11 +0100 (Thu, 24 Feb 2011)
New Revision: 8139

Modified:
   trunk/gforge_base/evolvisforge-5.1/gforge/www/themes/osx/Theme.class
Log:
Replace spaces with   in tab title to prevent ugliness when a tab title is very long and broken across several lines


Modified: trunk/gforge_base/evolvisforge-5.1/gforge/www/themes/osx/Theme.class
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/www/themes/osx/Theme.class	2011-02-24 14:58:10 UTC (rev 8138)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/www/themes/osx/Theme.class	2011-02-24 14:58:11 UTC (rev 8139)
@@ -492,6 +492,7 @@
 			$inner='';
 		}
 		for ($i=0; $i<$count; $i++) {
+			$TABS_TITLES[$i] = preg_replace("/ +/", " ", $TABS_TITLES[$i]);
 			$bgimg=(($selected==$i)?$select_tab:$deselect_tab);
 			$cornerimg=(($selected==$i)?'select':'deselect');
 			$return .= '



More information about the evolvis-commits mailing list