svn commit: r17286 - trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/ArgoFigText.java
Michiel van der Wulp <[email protected]>
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: mvw
Date: 2009-08-21 06:01:17-0700
New Revision: 17286
Modified:
trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/ArgoFigText.java
Log:
Make the text of a FigText not touch its border.
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=17286&r1=17285&r2=17286
==============================================================================
--- 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 2009-08-21 06:01:17-0700
@@ -79,6 +79,11 @@
super.setFillColor(FILL_COLOR);
super.setTextFillColor(FILL_COLOR);
super.setTextColor(TEXT_COLOR);
+ /* This makes the text not touch the text-border line: */
+ super.setTopMargin(1);
+ super.setBotMargin(1);
+ super.setLeftMargin(1);
+ super.setRightMargin(1);
// Certain types of fixed text (e.g. a FigStereotype with a keyword)
// may not have an owner
if (owner != null) {
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2385980
To unsubscribe from this discussion, e-mail: [[email protected]].