[dia] [flowchart] text fitting - changed defaults



commit 74434d20dd46c8249c22c7fdf2e39a937b590295
Author: Hans Breuer <hans breuer org>
Date:   Sun Dec 11 16:42:22 2011 +0100

    [flowchart] text fitting - changed defaults
    
    Not using TEXTFIT_ALWAYS anymore because dropped shapes are
    really small without text otherwise.

 objects/flowchart/diamond.c |    4 ++--
 objects/flowchart/ellipse.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/objects/flowchart/diamond.c b/objects/flowchart/diamond.c
index fb052f1..de86e17 100644
--- a/objects/flowchart/diamond.c
+++ b/objects/flowchart/diamond.c
@@ -537,8 +537,8 @@ diamond_create(Point *startpoint,
   text_get_attributes(diamond->text,&diamond->attrs);
   dia_font_unref(font);
   
-  /* new default: let the user decide the size */
-  diamond->text_fitting = TEXTFIT_NEVER;
+  /* new default: let the user decide the size? */
+  diamond->text_fitting = TEXTFIT_ALWAYS;
 
   element_init(elem, 8, NUM_CONNECTIONS);
 
diff --git a/objects/flowchart/ellipse.c b/objects/flowchart/ellipse.c
index 6c93b85..c56c103 100644
--- a/objects/flowchart/ellipse.c
+++ b/objects/flowchart/ellipse.c
@@ -513,8 +513,8 @@ ellipse_create(Point *startpoint,
   text_get_attributes(ellipse->text,&ellipse->attrs);
   dia_font_unref(font);
   
-  /* new default: let the user decide the size */
-  ellipse->text_fitting = TEXTFIT_NEVER;
+  /* new default: let the user decide the size? */
+  ellipse->text_fitting = TEXTFIT_ALWAYS;
 
   element_init(elem, 8, NUM_CONNECTIONS);
 



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