I uses the JFace dialog in my app. And I don't subclass the getInitialSize(xxx). The JFace could determine the correctly height of dialog, But width. My question is if the JFace dialog could auto calculates my dialog size without a static initial size? I could adjust the static size to fix my screen(MAC OS X). But in other platform(WINDOWS), it become a bad size.