private void fixTranslate() {
    if (content.getWidth() < getSkinnable().getWidth()) {
      translateX.set(0);
    } else {
      double newValue = translateX.get();
      newValue = Math.min(newValue, 0);
      newValue = Math.max(newValue, -(content.getWidth() - getSkinnable().getWidth()));
      translateX.set(newValue);
    }
  }
Constructor for all SkinBase instances.

@param strip The strip for which this Skin should attach to.
workbenchfx-core/src/main/java/com/dlsc/workbenchfx/view/controls/selectionstrip/SelectionStripSkin.java