Allow axes to be resized.

Axis' computeLayout previously didn't depend on the minimum width/height.
Instead, it performed calculations based on the default sizes of X/Y axes.

This commit modifies computeLayout to depend on the minimum width/height.