Hi,
At first of all, very nice work! Thank you very much for that plugin.
Is it possible to show a button e.g. withYesButton without icons?
or withCancelButton without Icon?
Thank you in advance for your feedback.
Best Regards
Hi,
At first of all, very nice work! Thank you very much for that plugin.
Is it possible to show a button e.g. withYesButton without icons?
or withCancelButton without Icon?
Thank you in advance for your feedback.
Best Regards
This can help:
ConfirmDialog.setButtonDefaultIconsVisible(false); //set this first
ConfirmDialog
.create()
.withCaption("System alert")
.withMessage("Do you want to continue?")
.withOkButton(() -> {
System.out.println("YES. Implement logic here.");
}, ButtonOption.focus(), ButtonOption.caption("YES"))
.withCancelButton(ButtonOption.caption("NO"))
.open();