Author: bobtarling
Date: 2010-01-28 02:36:20-0800
New Revision: 17926

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

Log:
Assume the stereotype Fig is visible and set its height (a partial reversal of 
a change in rev 17317).

Modified: 
trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigCompartmentBox.java
Url: 
http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigCompartmentBox.java?view=diff&pathrev=17926&r1=17925&r2=17926
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigCompartmentBox.java 
(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigCompartmentBox.java 
2010-01-28 02:36:20-0800
@@ -114,9 +114,7 @@
      */
     private void initialize() {
         // Set properties of the stereotype box.
-        // Initially not set to be displayed, but this will be changed
-        // when we try to render it, if we find we have a stereotype.
-        getStereotypeFig().setVisible(false);
+        getStereotypeFig().setHeight(STEREOHEIGHT + LINE_WIDTH);
 
         /*
          * The nameFig is transparent, since this is a box and the fill color 
is

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

To unsubscribe from this discussion, e-mail: 
[[email protected]].

Reply via email to