X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Flayout.cpp;h=3f03ab9fa69f1806e7ddef176a0486b0d9e64254;hb=060b85ffc3d92b94b444b29ee5b26a6e74636235;hp=e9f9b40d0e9e0cced67238e62f2b0d8b480754d2;hpb=c2f044fa885deb5a131f19902c88be0bc970ecac;p=libs%2Fgltk.git diff --git a/source/layout.cpp b/source/layout.cpp index e9f9b40..3f03ab9 100644 --- a/source/layout.cpp +++ b/source/layout.cpp @@ -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;