[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] How to resize a MessageDialog subclass and still see the button Bar

Hi guys,

 I have gone though the threads and did not find an answer to my question.

I have a class that extends MessaDialog and i overrided intialSize as such :

 protected  Point  getInitialSize(){return new
Point(IHM_DIALOG_WIDTH,IHM_DIALOG_HEIGHT);}

The Dialog has the new size but i can't see the Buttons {OK,CANCEL} i have
tried different combinations
by overriding:
  protected  Control  createDialogArea(Composite parent)

and no Luck either i can see the Buttons and not the Icon associated with
the message type or i can't see the Buttons.

Anybody?