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 <[email protected]>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 > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
