Page 1 of 1

Problem with Fields in Subfile Grid

Posted: Wed Apr 04, 2012 5:24 pm
by rmullis
I have a grid with three columns in it. The first two columns are character fields. I have defined the "Text Align" attribute of the fields to "center". The third column is numeric and it has a "Text Align" attribute of "right". Neither of the first two columns centers when the grid is displayed. Both fields are left justified. The third column (numeric) refuses to right justify. It is also left justified.

Is there a problem with subfile grids or am I missing something?

FYI, I have version 3.3.4 of ProfoundUI.

Re: Problem with Fields in Subfile Grid

Posted: Thu Apr 05, 2012 9:09 am
by David
The text align property on the fields sets the text alignment relative to the field dimensions, not relative to a grid cell. To get the effect you're looking for, increase the width of the field widgets so that they occupy the entire width of the cell.

Re: Problem with Fields in Subfile Grid

Posted: Thu Apr 05, 2012 10:26 am
by rmullis
Thanks David.

I knew that, because I had done it on other screens. From some reason, I chose to forget it on this screen.