I'm trying to present some header - detail data using clv, but have a (couple of) sizing problems.
When stepping through code (clv.add) every things looks nearly OK, i.e. the and width of the header and detail labels are the same, the height of the header is too small, the height of the details are too small, but seems to respect the multiline setting.
But in the end everything is a mess. The headers are OK (apart from the height), but the width of the details are changed, the heights of the panels are nearly OK, but the multiline label is no longer multiline.
Replacing the "original" multiline labels in code can solve the multiline problem, but is this nessesary and what about the widths and heights.
Any suggestions ?
Samplecode attached.
When stepping through code (clv.add) every things looks nearly OK, i.e. the and width of the header and detail labels are the same, the height of the header is too small, the height of the details are too small, but seems to respect the multiline setting.
But in the end everything is a mess. The headers are OK (apart from the height), but the width of the details are changed, the heights of the panels are nearly OK, but the multiline label is no longer multiline.
Replacing the "original" multiline labels in code can solve the multiline problem, but is this nessesary and what about the widths and heights.
Any suggestions ?
Samplecode attached.