[Aptitude-svn-commit] r3342 - in branches/aptitude-0.3/aptitude: . src/vscreen
Daniel Burrows
dburrows@costa.debian.org
Tue, 07 Jun 2005 00:40:57 +0000
Author: dburrows
Date: Tue Jun 7 00:40:55 2005
New Revision: 3342
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/vscreen/testvscreen.cc
Log:
Make the scrollbar fill its vertical space.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Tue Jun 7 00:40:55 2005
@@ -2,6 +2,12 @@
* src/vscreen/testvscreen.cc:
+ Also make sure that the scrollbar fills its vertical space. (this
+ change is needed to compensate for past adjustments in vs_table's
+ behavior)
+
+ * src/vscreen/testvscreen.cc:
+
Fix the creation of the main test screen so that the scrollbar is
visible again.
Modified: branches/aptitude-0.3/aptitude/src/vscreen/testvscreen.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/testvscreen.cc (original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/testvscreen.cc Tue Jun 7 00:40:55 2005
@@ -355,7 +355,7 @@
s->scrollbar_interaction.connect(sigc::mem_fun(*l, &vs_text_layout::scroll));
t->add_widget_opts(l, 0, 0, 1, 1, vs_table::EXPAND | vs_table::SHRINK, vs_table::EXPAND);
- t->add_widget_opts(s, 0, 1, 1, 1, 0, vs_table::EXPAND);
+ t->add_widget_opts(s, 0, 1, 1, 1, 0, vs_table::EXPAND | vs_table::FILL);
return t;
}