Data Grid Column Header Alignment Changes after column resize

Len Morgan len-morgan at crcom.net
Sun Mar 21 17:41:49 EDT 2010


It didn't work so I guess I need an updated datagrid library since I 
can't download the latest 4.5 dp-3 without error.  :-(

len morgan

On 3/15/2010 11:08 AM, Trevor DeVore wrote:
> 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.
>




More information about the use-livecode mailing list