Accessing customised columns in a datagrid
Peter Haworth
pete at mollysrevenge.com
Thu Mar 31 13:09:28 EDT 2011
Yes, that's what I was trying to say - the last column does extend to the far right of the datagrid so that would explain it. Now I just have to figure out how to detect that situation and deal with it.
Pete Haworth
On Mar 31, 2011, at 6:10 AM, Trevor DeVore wrote:
> On Thu, Mar 31, 2011 at 1:53 AM, Peter Haworth <pete at mollysrevenge.com>wrote:
>
>> I think I figured this out. I only need to add the +5 if the column
>> containing the checkbox is the last column in the datagrid - anywhere else
>> and the +5 pushes it too far to the right. I'm guessing this has something
>> to do with the vertical scrollbar - maybe the width of the last column in a
>> datagrid includes the width of the scrollbar?
>
>
> The scrollbar won't come into play when sizing the column but it may be that
> your last column extends to the far right of the data grid. In this case
> part of the column would appear behind the scrollbar and would not look
> centered.
>
> --
>
> Trevor DeVore
>
> Blue Mango Learning Systems
>
> ScreenSteps: http://www.screensteps.com
>
> LiveCode Resources for Developers: http://livecode.bluemangolearning.com
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list