private void computePrefSize () {
        prefSizeInvalid = false;
        GlyphLayout prefSizeLayout = OpenLabel.prefSizeLayout;
        if (wrap && ellipsis == null) {
            float width = getWidth();
            if (style.background != null) {
                width = Math.max(width, style.background.getMinWidth()) - style.background.getLeftWidth()
                        - style.background.getRightWidth();
            }
            prefSizeLayout.setText(cache.getFont(), text, Color.WHITE, width, Align.left, true);
        } else
            prefSizeLayout.setText(cache.getFont(), text);
        prefSize.set(prefSizeLayout.width, prefSizeLayout.height);
    }
@param newText If null, "" will be used.
core/src/com/ray3k/skincomposer/OpenLabel.java