[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,
- [lmi-commits] [lmi] master updated (132fcb2 -> 7146202), Greg Chicares, 2018/04/22
- [lmi-commits] [lmi] master fffcb59 2/6: Consolidate documentation, Greg Chicares, 2018/04/22
- [lmi-commits] [lmi] master 7146202 6/6: Explain the connection between "variable" and "expand",
Greg Chicares <=
- [lmi-commits] [lmi] master da9e57d 4/6: Improve documentation, resolving a question or two, Greg Chicares, 2018/04/22
- [lmi-commits] [lmi] master 5c0c360 5/6: Resolve several questions, Greg Chicares, 2018/04/22
- [lmi-commits] [lmi] master c902746 1/6: Add and use is_variable_width() const accessor, Greg Chicares, 2018/04/22
- [lmi-commits] [lmi] master 24dacaa 3/6: Consolidate 'total_width_' commentary, Greg Chicares, 2018/04/22