[glom] FieldFormatting: Default to show-all for related choices.



commit 97b4c4844b12a5bf85817320531965bc360b3534
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Aug 6 17:58:03 2010 +0200

    FieldFormatting: Default to show-all for related choices.
    
    * glom/libglom/data_structure/layout/fieldformatting.cc:

 ChangeLog                                          |    8 +++++++-
 .../data_structure/layout/fieldformatting.cc       |    2 +-
 2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 857587c..a200e6e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
-2010-08-06  Murray Cumming  <murrayc murrayc-desktop>
+2010-08-06  Murray Cumming  <murrayc murrayc com>>
+
+	FieldFormatting: Default to show-all for related choices.
+
+	* glom/libglom/data_structure/layout/fieldformatting.cc:
+
+2010-08-06  Murray Cumming  <murrayc murrayc com>>
 
 	Formatting: Add get_choices_related() overload to reduce copy/pasted code.
 
diff --git a/glom/libglom/data_structure/layout/fieldformatting.cc b/glom/libglom/data_structure/layout/fieldformatting.cc
index 3c02151..bb081db 100644
--- a/glom/libglom/data_structure/layout/fieldformatting.cc
+++ b/glom/libglom/data_structure/layout/fieldformatting.cc
@@ -37,7 +37,7 @@ FieldFormatting::FieldFormatting()
   m_text_format_multiline(false),
   m_text_multiline_height_lines(MULTILINE_TEXT_DEFAULT_HEIGHT_LINES),
   m_horizontal_alignment(HORIZONTAL_ALIGNMENT_AUTO),
-  m_choices_related_show_all(false)
+  m_choices_related_show_all(true) //Because this a the simpler, more often useful, default.
 {
 }
 



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