Data Grid Column Header Alignment Changes after column resize

Trevor DeVore lists at mangomultimedia.com
Mon Mar 15 12:08:40 EDT 2010


On Mar 13, 2010, at 11:18 AM, Len Morgan wrote:

> I'm trying to use my first Data Grid (table) in a stack and I need  
> to set the column Header alignment for a few of the columns.   
> Following the instructions in the DG manual, I entered the  
> alignments using the message box and it looked fine.  But then I  
> resized one of the columns and all of the alignments changed, some  
> of them even aligning themselves such that only half of the text  
> showed in the column.
>
> Do I need to set the alignments every time the grid is displayed?   
> If so, where can I do that?

There is a bug in the version of the library shipping with 4.0 with  
regards to column header alignment. It has been fixed for 4.5 though.

Try setting the column alignment by script when your stack opens. Here  
is a lesson -
http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7324-How-Do-I-Change-Column-Alignment-

If that doesn't work then let me know and I can get you updated library.

-- 
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com



More information about the use-livecode mailing list