public float getPrefWidth () {
        if (wrap) return 0;
        if (prefSizeInvalid) scaleAndComputePrefSize();
        float width = prefSize.x;
        Drawable background = style.background;
        if (background != null)
            width = Math.max(width + background.getLeftWidth() + background.getRightWidth(), background.getMinWidth());
        return width;
    }
@param newText If null, "" will be used.
core/src/com/ray3k/skincomposer/OpenLabel.java