* We should probably throw if the column is fixed-width and outside the limits (both in setWidth() and in setWidthLimits()). This check obviously
wouldn't apply to relative and default width columns.

I agree that we should throw in setWidth(), but I'm not sure we can do that in setWidthLimits(). The default value of width is 0, so this WTKX declaration would always throw:

<TableView.Column minimumWidth="10"/>

I'm not sure what the right solution is, but I'm thinking maybe we should simply adjust the width value. What other options are there? Whatever we decide, we should also modify Component#setPreferredWidthLimits() and setPreferredHeightLimits() to do the same.

My only other comment is minor: we should probably also provide getWidthLimits():Limits and setWidthLimits(Limits):void methods.

Otherwise, looks great. Thanks!

G


Reply via email to