Potential Data Grid Helper column builder header alignment bug?

Keith Clarke keith.clarke at clarkeandclarke.co.uk
Mon Mar 7 11:15:10 EST 2011


Thanks for the clarification - this all makes a lot of sense and I'm glad it's not a bug. 

It just so happened that my first two columns are both very narrow columns - for this row select checkbox and an inline button called 'test' that will fire a function on a per-row basis. (I'll share what I'm working on, once I have a few things sorted.)

No need to hack any deeper than necessary - for now, I'll just align left and use very short Titles!
Best,
Keith..

On 7 Mar 2011, at 15:28, zryip theSlug wrote:

> 
> This padding issue represents the reserved size of the small arrow
> icon associated to the header and shown when a column is sorted.
> 
> When the size of a column falls under 40 pixels and the header
> aligmnent is center or right, the label will be hidden totally or
> partially by this reserved size.
> 
> I could imagine you have reduced the size of the checkbox column. If
> you have no need to sort this column I could demonstrate how to fix
> this by changing the default header parent script of the datagrid.





More information about the Use-livecode mailing list