Summary: | state transition label bounding box too small | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | eric <kde> |
Component: | general | Assignee: | Oliver Kellogg <okellogg> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.3.2 | ||
Target Milestone: | --- | ||
Platform: | RedHat Enterprise Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
eric
2005-02-09 05:04:02 UTC
CVS commit by okellogg: Constructor: Set m_Text _prior_ to calling calculateSize(). BUG:98899 M +5 -7 floatingtext.cpp 1.68 --- kdesdk/umbrello/umbrello/floatingtext.cpp #1.67:1.68 @@ -38,4 +38,9 @@ FloatingText::FloatingText(UMLView * vie m_Text = text; m_Role = role; + if ( ! UMLApp::app()->getDocument()->loading() ) { + calculateSize(); + setZ( 10 );//make sure always on top. + update(); + } } @@ -45,15 +50,8 @@ void FloatingText::init() { m_Text = ""; m_PostText = ""; - //m_SeqNum = ""; - //m_Operation = ""; m_Role = Uml::tr_Floating; m_Type = Uml::wt_Text; // initialize non-saved (i.e. volatile) data m_pLink = NULL; - if ( ! UMLApp::app()->getDocument()->loading() ) { - calculateSize(); - setZ( 10 );//make sure always on top. - update(); - } } |