[Aptitude-devel] r3215 - in branches/aptitude-0.3/aptitude: . src
Daniel Burrows
dburrows@costa.debian.org
Sat, 30 Apr 2005 23:57:31 +0000
Author: dburrows
Date: Sat Apr 30 23:57:28 2005
New Revision: 3215
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/solution_dialog.cc
Log:
Avoid having the buttons in the solution dialog vanish.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Sat Apr 30 23:57:28 2005
@@ -2,6 +2,11 @@
* src/solution_dialog.cc:
+ Make the top row of the dialog shrinkable, so the buttons never
+ disappear -- even if it gets too tall.
+
+ * src/solution_dialog.cc:
+
Fix up the layout options in the solution dialog. The most
important change is that the button box is now shrinkable, which
in turn means that the scrollbar will always be visible (because
Modified: branches/aptitude-0.3/aptitude/src/solution_dialog.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/solution_dialog.cc (original)
+++ branches/aptitude-0.3/aptitude/src/solution_dialog.cc Sat Apr 30 23:57:28 2005
@@ -135,7 +135,7 @@
t->add_widget_opts(scrl,
0, 1, 1, 1,
vs_table::ALIGN_RIGHT,
- vs_table::ALIGN_CENTER | vs_table::FILL);
+ vs_table::ALIGN_CENTER | vs_table::FILL | vs_table::SHRINK);
vs_table *bt=new vs_table;
@@ -178,7 +178,8 @@
vs_table::FILL | vs_table::EXPAND, vs_table::FILL);
t->add_widget_opts(bt, 1, 0, 1, 2,
- vs_table::FILL | vs_table::EXPAND | vs_table::SHRINK, 0);
+ vs_table::FILL | vs_table::EXPAND | vs_table::SHRINK,
+ vs_table::FILL);
return rval;
}