Hi Frank,

>> 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"?

Yes, sorry!

>> 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.

:-( I'll file an issue. As a workaround, I created a ActionListener
closing the dialog.

Greetings, Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to