Customize Dialog's size?
I would like to display some progress dialogs but I found strange behaviours when trying to force a dialog's size.
Suppose to create a dialog with no title, no commands and just a label (with a custom paintBackground method that display the gauge)
Even calling setPrefereedWidth() on the dialog its size seems to be about 90% of the screen height.
If I try to call setHeight() or setSize() before the show(), the label is not displayed anymore.
Is this a bug or I'm not using dialog in a wrong way?