[Aptitude-devel] r3126 - in branches/aptitude-0.3/aptitude: . src
Daniel Burrows
dburrows@costa.debian.org
Wed, 27 Apr 2005 02:50:54 +0000
Author: dburrows
Date: Wed Apr 27 02:50:51 2005
New Revision: 3126
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/apt_options.cc
Log:
Center the buttons at the bottom of the options dialogs.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Wed Apr 27 02:50:51 2005
@@ -1,5 +1,10 @@
2005-04-26 Daniel Burrows <dburrows@debian.org>
+ * src/apt_options.cc:
+
+ Use FILL appropriately so the buttons at the bottom of the
+ options dialogs get appropriately centered.
+
* src/ui.cc:
Use FILL so that we get a display that actually works.
Modified: branches/aptitude-0.3/aptitude/src/apt_options.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/apt_options.cc (original)
+++ branches/aptitude-0.3/aptitude/src/apt_options.cc Wed Apr 27 02:50:51 2005
@@ -358,7 +358,7 @@
vs_table::ALIGN_CENTER | vs_table::EXPAND,
vs_table::ALIGN_CENTER);
table->add_widget_opts(bt, row, 0, 2, 1,
- vs_table::ALIGN_CENTER | vs_table::EXPAND,
+ vs_table::ALIGN_CENTER | vs_table::EXPAND | vs_table::FILL,
vs_table::ALIGN_CENTER);
vs_frame *frame=new vs_frame(table);