lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 7146202 6/6: Explain the connection between "


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 7146202 6/6: Explain the connection between "variable" and "expand"
Date: Sun, 22 Apr 2018 14:56:59 -0400 (EDT)

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

    Explain the connection between "variable" and "expand"
---
 wx_table_generator.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/wx_table_generator.cpp b/wx_table_generator.cpp
index c103d46..9461876 100644
--- a/wx_table_generator.cpp
+++ b/wx_table_generator.cpp
@@ -211,7 +211,8 @@ void wx_table_generator::do_compute_column_widths()
     //
     // The rationale for this property is that, once adequate width
     // has been allocated to each column, any excess width left over
-    // is to be distributed among such "variable-width" columns only.
+    // is to be distributed among such "variable-width" columns only:
+    // i.e., they (and only they) are to be "expanded".
     int num_expand = 0;
 
     // Total width of all non-hidden fixed-width columns.
@@ -355,7 +356,7 @@ void wx_table_generator::do_compute_column_widths()
     // Lay out variable-width columns in whatever space is left over
     // after accounting for all fixed-width columns.
     //
-    // If there's more than enough space for them, then widen them
+    // If there's more than enough space for them, then expand them
     // to consume all available space.
     //
     // If there isn't enough space for their headers and contents,



reply via email to

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