Print Page | Close Window

Word Wrap and Top Alignment

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=4195
Printed Date: 04 December 2024 at 1:46pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Word Wrap and Top Alignment
Posted By: John31
Subject: Word Wrap and Top Alignment
Date Posted: 11 May 2006 at 9:37am

I am using the xtpAlignmentLeft Or xtpAlignmentWordBreak flags for the last two columns.  However, when one is a single line as in the first entry I want it to be Aligned to Vertical Top.  How can I get rid of the vertical center on this column?  I think all other columns not wrapped should be aligned to the top by default unless xtpAlignmentVCenter is specifically set.



-------------
Regards

John Layton



Replies:
Posted By: sserge
Date Posted: 15 May 2006 at 5:45pm
Hi,

the default behavior is following: it calculates the height of the biggest row and makes all others with the same size, centering text vertically for each of them, not depending on text lenght.

You can not change this behavior for Report ActiveX, but you can try some workarounds. For example, adding a number of spaces in the end of the text should help, because it will be drawing it on 2 lines... I see that this is not a good solution, but probably its better than nothing.

--
WBR,
Serge



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net