lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master fe44184 1/2: Reduce spacing between columns i


From: Greg Chicares
Subject: [lmi-commits] [lmi] master fe44184 1/2: Reduce spacing between columns if necessary (VZ)
Date: Sun, 11 Mar 2018 12:06:57 -0400 (EDT)

branch: master
commit fe4418447f9539feb34189e6a4c8c7edbe452672
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Reduce spacing between columns if necessary (VZ)
    
    See:
      https://lists.nongnu.org/archive/html/lmi/2018-03/msg00057.html
---
 wx_table_generator.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wx_table_generator.cpp b/wx_table_generator.cpp
index 604351e..ff278d7 100644
--- a/wx_table_generator.cpp
+++ b/wx_table_generator.cpp
@@ -211,7 +211,7 @@ void 
wx_table_generator::do_compute_column_widths_if_necessary()
             // fit into the available width.
             auto const overflow_per_column =
                 (overflow + num_columns - 1)/num_columns;
-            if(overflow_per_column <= column_margin_)
+            if(overflow_per_column <= 2 * column_margin_)
                 {
                 // We are going to reduce the total width by more than
                 // necessary, in general, because of rounding up above, so



reply via email to

[Prev in Thread] Current Thread [Next in Thread]