Yeah I'd vote getPreferredColumnWidth(columnIndex:int):int On Wed, Aug 26, 2009 at 4:26 PM, Greg Brown <[email protected]> wrote:
> Or maybe: > > getPreferredColumnWidth(columnIndex:int):int > > > > On Aug 26, 2009, at 4:24 PM, Greg Brown wrote: > > So it would just be a utility method, such as sizeColumnToFit(int):void? >> >> On Aug 26, 2009, at 4:23 PM, Todd Volkert wrote: >> >> Yeah, including asking the column header's renderer. >>> >>> On Wed, Aug 26, 2009 at 4:20 PM, Greg Brown <[email protected]> wrote: >>> >>> What about adding API to TableViewHeader? >>>> >>>>> >>>>> >>>> You mean, to do this? >>>> >>>> >>>> You could pretty easily write a method that >>>> >>>>> will, using the column's cell renderer, determine the max. cell width >>>>>> and >>>>>> explicitly set the column width to that value. >>>>>> >>>>>> >>>>> >>>> >>>> >> >
