|JFace dialog button bar doesn't show until dialog is resized [message #484972]
||Thu, 10 September 2009 04:08
Originally posted by: crni.adjah.gmail.com|
I extend a JFace dialog to make my own. First I implement the
method, and add all of the components that I want the dialog to contain.
I want the dialog to be a certain size (450x450p) at the end of
createDialogArea I call these two methods:
where the shell is acquired at the beginning of the method like this:
Composite composite = (Composite)super.createDialogArea(parent);
shell = composite.getShell();
when the dialog opens, dialog area shows fine but the OK and cancel buttons
don't until i re size the dialog a little and then it's all fine.
Thanks in advance for any help with this, I tried everything and can't
Powered by FUDForum
. Page generated in 0.01879 seconds