Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Right align text problems

Paul (MITsa)Apr 14 2010 — edited Jul 16 2010
ADF 11g

Hello

I'm having problems trying to do what at first would seem to be very simple. :-)

I have a bean with 3 Number properties.
I would like to display the 3 Number properties with a label as follows :

Lablel 123.00
Any label 12345.00
Total 12468.00

ie.
Labels left aligned
Numbers right aligned, and aligned correctly one above the other.

The numbers and labels are read only.

I've tried various combinations of inline style, content style - right aligned text with input text and output text
I've tried using the style AFNumberMarker and various Number converters.
I've tried setting the column property of the input text.

But so far I can't find the solution - if I use a non ReadOnly input text with a right aligned text the text is right aligned, as soon as a use ReadOnly true
the size of the input text shrinks to the size of the actual value which breaks the one above the other aligning.

Can anybody help ?

Regards
Paul
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 13 2010
Added on Apr 14 2010
11 comments
6,903 views