/** * @see Content#setMinWidth(double) */ @Override public void setMinWidth(double minWidth){ super.setMinWidth(minWidth); super.setWidth(minWidth); refreshUp(); }
/** * Set the same width for all elements in the layout * @param width */ protected final void setContentsWidth(double width) { for (Content content: getContents()) { content.setWidth(width); content.refreshDown(); } } }