Files
gtk3/tests
Kristian Rietveld 2cc1247433 Fix #316087.
2008-07-11  Kristian Rietveld  <kris@gtk.org>

	Bug 316087 - Resizing columns is chaotic

	* gtk/gtktreeprivate.h: add new member fields.

	* gtk/gtktreeview.c (gtk_tree_view_init), (validate_row): set post
	validation flag,
	(gtk_tree_view_size_allocate_columns): rework the size allocation
	mechanism to only recalculate the expand values if the width of the
	widget, content or the column configuration has changed,
	(gtk_tree_view_size_allocate): move call to size_allocate_columns()
	to before the adjustment updates so the proper width is used after
	we updated it,
	(gtk_tree_view_button_press), (gtk_tree_view_motion_resize_column):
	use the column width minus the expand value for the resized width,
	(gtk_tree_view_move_column_after): update call to
	gtk_tree_view_size_allocate_columns().

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_expand): set use
	resized width to FALSE.

	* tests/Makefile.am:
	* tests/testtreecolumnsizing.c: new interactive test program
	for testing column resizing with different column configurations.


svn path=/trunk/; revision=20818
2008-07-11 14:17:49 +00:00
..
2008-07-01 22:57:50 +00:00
2007-07-02 22:24:39 +00:00
2008-07-11 14:17:49 +00:00
2003-09-30 20:55:24 +00:00
2003-09-30 20:55:24 +00:00
2008-07-01 22:57:50 +00:00
2005-07-12 18:08:20 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2006-04-26 12:39:25 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2008-07-11 14:17:49 +00:00
2007-10-04 12:52:46 +00:00