cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi,

Is it possible to have a field "Value" to be formated and right aligned?

Best regards,

Dharmi

0 Likes
View Entire Topic
Former Member
0 Likes

Hi,

yes its possible .Go for display tab->text aligne->set to right or left or center.

Regards,

Govindu

Former Member
0 Likes

Hi Govindu,

Can you please explain again or attach screenshots?

I do not see the align option in

1. Design Tab - Table selected

2. Layout tab - Field selected

Thank you in advance.

Regards,

Dharmi

Former Member
0 Likes

Hi Govindu,

I think you are using Visual Composer 7.0 - the display tab with text alignment appears for controls inside table views. Unfortunately, version 7.1 doesn't have this feature yet.

However, I suggested a somewhat crude workaround in .

Eyal

Former Member
0 Likes

Hi Eyal,

Thank you

Best regards,

Dharmi

Edited by: Dharmi Tanna on Apr 17, 2008 12:22 PM

Former Member
0 Likes

Hi Dharmi,

What I did was change the value property of the control I wanted to "right-align", using the configure panel for that control.

I changed it from =@NUM1 to =LPAD(@NUM1, 50, ' '). This adds the right amount of spaces to the left side of NUM1 (which is implicitly converted to a Text) to bring the total length of the column to 50 characters.

The two obvious drawbacks are 1) that if the window is resized, so that the column's width changes, then the value you've chosen for len will no longer be appropriate, and it will appear very ugly and 2) because this means using an expression for the control's value property, the control will no longer be editable.

Tell me if this works for you now.

Regards,

Eyal