@Override
	public Dimension preferredLayoutSize(Container parent) {
		Dimension size = mHeader.getPreferredSize();
		int width = size.width;
		int height = size.height;
		if (!mDockables.isEmpty()) {
			size = getCurrentDockable().getPreferredSize();
			if (width < size.width) {
				width = size.width;
			}
			height += size.height;
		}
		Insets insets = parent.getInsets();
		return new Dimension(insets.left + width + insets.right, insets.top + height + insets.bottom);
	}