WidgetBorder border = parent.getBorder();
    public Vector2f preferredLayoutSize(WidgetContainerAbstract parent) {        if (parent.isVisible() == false)            return new Vector2f();        setupDimensions();        int minWidth = (int) (northDim.x > southDim.x ? northDim.x : southDim.x);        int width =            getSizeSum(                (int) westDim.x,                (int) centerDim.x,                (int) eastDim.x,                minWidth,                this.hgap,                westWidget != null,                centerWidget != null,                eastWidget != null);        int minHeight = (int) (westDim.y > eastDim.y ? westDim.y : eastDim.y);        int height =            getSizeSum(                (int) southDim.y,                (int) centerDim.y,                (int) northDim.y,                minHeight,                this.vgap,                southWidget != null,                centerWidget != null,                northWidget != null);        WidgetInsets insets = parent.getInsets();        WidgetBorder border = parent.getBorder();        Vector2f ret = new Vector2f();        ret.x = width + insets.getLeft() + insets.getRight() + border.getLeft() + border.getRight();        ret.y = height + insets.getTop() + insets.getBottom() + border.getTop() + border.getBottom();        return ret;    }