This is a migrated thread and some comments may be shown as answers.

SizeToCell problem when first column width is *

0 Answers 58 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dmitry
Top achievements
Rank 1
Dmitry asked on 26 Jan 2012, 03:22 PM
Hi,

It looks like allocation of space between columns having width set to SizeToCell is not consistent and depends on what is set as the width of the first column.
When first column has width equal to * and other columns width equal to SizeToCell than in case columns exceed available space SizeToCell is calculated incorrectly and columns have width equal to its MinWidth. In case when first column has fixed width other columns have width equal to content width which is correct.

I have prepared the sample demonstrating the problem.
You can download it here http://www.box.com/s/cs1i2svvhlcnvyxbxigy

Let me know if you need more information

Regards,
Dmitry
Tags
TreeListView
Asked by
Dmitry
Top achievements
Rank 1
Share this question
or