Quantcast
Channel: Our ComponentOne » All Posts
Viewing all articles
Browse latest Browse all 14170

Reply To: Remove justified style from center alligned text

$
0
0

Hi Sam,

I am having a little difficulty in understanding what the end result should be like. I tried creating a similar report at my end, however I was unable to notice the difference between setting the alignment at design time and setting alignment in the script. Please find the same attached.

Hence, could you elaborate on what you mean by " there seems to be some text justification that moves both the label and the bound value alignment "
Any help in form of screenshots will be much appreciated.
In case you are referring to Lables and corresponding values not maintaining a columnar display, that is because of either the length of the value or because certain characters occupy more space than others such as 'S’ occupies more space than 'I’.

Do you wish to display the data in columnar form such as this:
Label: Value Label: Value Label: Value
Label: Value Label: Value Label: Value
Label: Value Label: Value Label: Value
Label: Value Label: Value Label: Value
Label: Value Label: Value Label: Value
If that is the case, I would suggest you to use separate controls to display each element i.e Label controls to display the labels and TextBoxes/RichTextBoxes to display the bound fields. This way the width of all controls will remain the same and they will not move only grow. Any formatting set will not be disturbed.

Please feel free to point out in case my understanding is wrong or if I have missed anything.
Best Regards,
Tuhina

PS: Please update the ConnectionString of the report. It is bound to NWIND.mdb that comes with AR samples.


Viewing all articles
Browse latest Browse all 14170

Trending Articles