Is it possible to change the look and feel of the actual caption in the ConfirmDialog? I have successfully changed the buttons and the content…
…
Button ok = cd.getOkButton();
Button cancel = cd.getCancelButton();
ok.addStyleName(ValoTheme.BUTTON_PRIMARY);
footer.addComponents(cancel, ok);
VerticalLayout content = new VerticalLayout();
content.setSizeFull();
content.setMargin(true);
Label _message = new Label(cd.getMessage());
_message.setStyleName(ValoTheme.LAYOUT_CARD);
content.addComponent(_message);
content.addComponent(footer);
content.setComponentAlignment(footer, Alignment.BOTTOM_RIGHT);
cd.setContent(content);