glom r1934 - in trunk: . glom/utility_widgets
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: glom r1934 - in trunk: . glom/utility_widgets
- Date: Tue, 24 Feb 2009 22:33:28 +0000 (UTC)
Author: murrayc
Date: Tue Feb 24 22:33:27 2009
New Revision: 1934
URL: http://svn.gnome.org/viewvc/glom?rev=1934&view=rev
Log:
2009-02-24 Murray Cumming <murrayc murrayc com>
* glom/utility_widgets/flowtable.cc: on_size_allocate(): Change an
accidental += to the = that it should be, to stop columns getting
increasingly large amounts of extra width when there are >2 columns.
Bug #539369 (maximiliano)
Modified:
trunk/ChangeLog
trunk/glom/utility_widgets/flowtable.cc
Modified: trunk/glom/utility_widgets/flowtable.cc
==============================================================================
--- trunk/glom/utility_widgets/flowtable.cc (original)
+++ trunk/glom/utility_widgets/flowtable.cc Tue Feb 24 22:33:27 2009
@@ -838,7 +838,7 @@
//start a new column:
column_child_y_start = allocation.get_y();
int column_x_start_plus_singles = column_x_start + singles_max_width;
- column_x_start += column_x_start_second + second_max_width;
+ column_x_start = column_x_start_second + second_max_width;
column_x_start = MAX(column_x_start, column_x_start_plus_singles); //Maybe the single items take up even more width.
column_x_start += m_padding;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]