Unwanted scrollbar in ConfirmDialog

Hi,

The confirm dialog in my code gets an unwanted scrollbar. The demo at http://sami.virtuallypreinstalled.com/confirmdialog does not.


ConfirmDialog.show(this.getUI(), “Some changes may have not been saved. Are you sure you want to discard them?”, listener);

What did I do wrong? How should I create the dialog?
Peter
13480.png
13481.png

This works:

    ConfirmDialog.setFactory(new DefaultConfirmDialogFactory() {

        @Override
        protected double getDialogDimensions(String message, org.vaadin.dialogs.ConfirmDialog.ContentMode style) {
            double dimensions = super.getDialogDimensions(message, style);
            dimensions[0]

*= 1.2;
return dimensions;
}

    });

Hi Peter, I do this but no doesn’t override any getDialogDimensions.
I’m having the same problem.
How did you do it?

Regards

I resolve this removing the jar of the addon (ConfirmDialog) and recompiling the widgetset. Start working nice!