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
..
dummy-headers
file-chooser-test-dir
test-images
3DRings.xpm
apple-red.png
autotestfilesystem.c
autotestkeywords.cc
check-n.xpm
check-y.xpm
circles.xbm
FilesQueue.xpm
gnome-textfile.png
Makefile.am Fix #316087. 2008-07-11 14:17:49 +00:00
makefile.msc
marble.xpm
merge-1.ui
merge-2.ui
merge-3.ui
Modeller.xpm
pixbuf-lowmem.c
pixbuf-random.c
pixbuf-randomly-modified.c
pixbuf-read.c
pixbuf-threads.c
print-editor.c
prop-editor.c
prop-editor.h
simple.c
stresstest-toolbar.c
test.xpm
testaccel.c
testactions.c
testassistant.c
testbbox.c
testcairo.c
testcalendar.c
testcellrenderertext.c
testcombo.c
testcombochange.c
testdnd.c
testellipsise.c
testentrycompletion.c
testfilechooser.c
testfilechooserbutton.c
testframe.c
testgrouping.c
testgtk.1
testgtk.c
testgtkrc
testgtkrc2
testicontheme.c
testiconview.c
testimage.c
testinput.c
testmenubars.c
testmenus.c
testmerge.c
testmountoperation.c
testmultidisplay.c
testmultiscreen.c
testnotebookdnd.c
testnouiprint.c
testprint.c
testprintfileoperation.c
testprintfileoperation.h
testrc.c
testrecentchooser.c
testrecentchoosermenu.c
testrgb.c
testrichtext.c
testselection.c
testsocket_child.c
testsocket_common.c
testsocket.c
testspinbutton.c
teststatusicon.c
testtext.c
testthreads.c
testtoolbar.c
testtooltips.c
testtreecolumns.c
testtreecolumnsizing.c Fix #316087. 2008-07-11 14:17:49 +00:00
testtreeedit.c
testtreeflow.c
testtreefocus.c
testtreemodel.c
testtreesort.c
testtreeview-plan.txt
testtreeview.c
testvolumebutton.c
testxinerama.c
treestoretest.c