From: <ha...@us...> - 2006-10-26 03:38:22
|
Revision: 6028 http://svn.sourceforge.net/jmol/?rev=6028&view=rev Author: hansonr Date: 2006-10-25 20:38:16 -0700 (Wed, 25 Oct 2006) Log Message: ----------- wee bit better Modified Paths: -------------- trunk/Jmol/src/org/jmol/viewer/Text.java Modified: trunk/Jmol/src/org/jmol/viewer/Text.java =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Text.java 2006-10-26 03:16:43 UTC (rev 6027) +++ trunk/Jmol/src/org/jmol/viewer/Text.java 2006-10-26 03:38:16 UTC (rev 6028) @@ -345,6 +345,9 @@ boxX += JmolConstants.LABEL_DEFAULT_X_OFFSET; boxY -= JmolConstants.LABEL_DEFAULT_Y_OFFSET + 4; } + if (valign == XYZ) { + boxY += ascent/2; + } if (!adjustForWindow) return; // labels This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |