[dia/dia-0-97] Bug 627549 - UML Object dialog width not computed right for attributes



commit d528b962fb0016ad6ddb132647fe22ae9c6b3625
Author: Hans Breuer <hans breuer org>
Date:   Sat Aug 21 11:47:54 2010 +0200

    Bug 627549 - UML Object dialog width not computed right for attributes
    
    Add the missing call to actually calculate Text::max_width
    (text_calc_boundingbox)
    (cherry picked from commit 20e2271e1670f52e5f6ac1f806dc4f80a81b39a5)

 objects/UML/object.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/objects/UML/object.c b/objects/UML/object.c
index 53ada4d..df551c5 100644
--- a/objects/UML/object.c
+++ b/objects/UML/object.c
@@ -405,6 +405,7 @@ objet_update_data(Objet *ob)
 
       h += ob->attributes->height*ob->attributes->numlines; 
 
+      text_calc_boundingbox(ob->attributes, NULL);
       w = MAX(w, ob->attributes->max_width);
   }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]