svn commit: r17921 - trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/ArgoFigText.java

Bob Tarling <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2010-01-26 21:17:47-0800
New Revision: 17921

Modified:
   trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/ArgoFigText.java

Log:
Make text unfilled

Modified: trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/ArgoFigText.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/ArgoFigText.java?view=diff&pathrev=17921&r1=17920&r2=17921
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/ArgoFigText.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/ArgoFigText.java	2010-01-26 21:17:47-0800
@@ -82,7 +82,7 @@
     public ArgoFigText(Object owner, Rectangle bounds,
             DiagramSettings renderSettings, boolean expandOnly) {        
         super(bounds.x, bounds.y, bounds.width, bounds.height, expandOnly);
-        setFontFamily("dialog"); /* TODO: Is this needed?*/
+        //setFontFamily("dialog"); /* TODO: Is this needed?*/
 
         // TODO: We don't currently have any settings that can change on a
         // per-fig basis, so we can just use the project/diagram defaults
@@ -90,8 +90,10 @@
         settings = renderSettings;
         super.setFontFamily(settings.getFontName());
         super.setFontSize(settings.getFontSize());
-        super.setFillColor(FILL_COLOR);
-        super.setTextFillColor(FILL_COLOR);
+        super.setFilled(false);
+        super.setFillColor(null);
+        super.setTextFilled(false);
+        super.setTextFillColor(null);
         super.setTextColor(TEXT_COLOR);
         /* This makes the text not touch the text-border line: */
         super.setTopMargin(1);

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2442327

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.