]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/layout.cpp
Comment and style updates
[libs/gltk.git] / source / layout.cpp
index e9f9b40d0e9e0cced67238e62f2b0d8b480754d2..3f03ab9fa69f1806e7ddef176a0486b0d9e64254 100644 (file)
@@ -343,8 +343,8 @@ void Layout::solve_constraints(int dir, SolveMode mode)
                }
 
                {
-                       /* Only allow the widget's dimension to increase.  The geometry has
-                       previously been set to the smallest allowable size. */
+                       /* Don't allow the widget's dimension to get below that determined
+                       by autosizing. */
                        LinearProgram::Row row = linprog.add_row();
                        row[(*i)->index*5+1] = 1;
                        row[(*i)->index*5+4] = -1;