Hallo Tobias, > This code produces a button with the image in the first line and the > text "Close" in the second line. Deleting the PropertyValue > "PushButtonType"
I suppose with "deleting" you mean "not setting"? > creates the button as intended: one line with the image > left centered. Is this a bug or a feature? Since you set the ImagePosition to 1, which is com.sun.star.awt.ImagePosition.LeftCenter (btw: using this symbolic identifier would increase the readability of your code :), this sounds like a bug to me. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]