I need a button to be constantly placed at the bottom left corner of my JFace dialog even on re size of dialog.
I have overridden the createButtonsForButtonBar()
protected void createButtonsForButtonBar(Composite parent)
{
sampleButton = createButton(parent, IDialogConstants.NO_ID, "Sample", true);
createButton(parent, IDialogConstants.OK_ID,"OK", false);
createButton(parent, IDialogConstants.CANCEL_ID,"Close", false);
}
I want the sample button to be placed at the bottom left, followed by spaces and then ok,cancel.
How do i achieve this?