how to align right numeric fields into a subfile grid

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
infgge00
Profound User
Posts: 28
Joined: Mon May 05, 2014 4:15 am
First Name: Giovani
Last Name: Garcia Estevez
Company Name: SISA, S.L.
Contact:

how to align right numeric fields into a subfile grid

Post by infgge00 »

Hi!! I would like to know how I can do align right in numeric fieds, when I bind a subfile grid.

I put "text align: right" into the column properties but It doesn´t works. The field displays in left align.

Thanks!
User avatar
Brian
Profound Logic Staff Member
Posts: 286
Joined: Thu Apr 14, 2011 10:23 am
First Name: Brian
Last Name: May
Company Name: Profound Logic Software
Contact:

Re: how to align right numeric fields into a subfile grid

Post by Brian »

In order for right align to work, you also must set the width property for the output field. You can do this by typing in a width or just grabbing the side of the widget and dragging. without this, the product expands the widget to fit the content and the alignment will not work.

Be sure to set the width large enough to hold your maximum length and it should align as expected.
infgge00
Profound User
Posts: 28
Joined: Mon May 05, 2014 4:15 am
First Name: Giovani
Last Name: Garcia Estevez
Company Name: SISA, S.L.
Contact:

Re: how to align right numeric fields into a subfile grid

Post by infgge00 »

Ok. I´ve tried it and it works!! Thank You so much
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests