Hi Leif,

The best way to do a new layout for a control like CommandButton is to
implement a new UI.

Have a look at
curl://install/gui-toolkit/controls/curl-controls/standard-button-ui.scurl

The class
BaseStandardButtonUI

does all the drawing for the CommandButton, especially the
BaseStandardButtonUI.draw method. There you  find also the margin,
bevel-width, etc.

There is also an example for a new UI of the CommandButton in the
documentation.

Hope this helps,
Friedger


*******************************************
To unsubscribe from this list, send a mail to:
mailto:[EMAIL PROTECTED]
To contact a human list administrator, send a mail to:
mailto:[EMAIL PROTECTED]
To recieve a list of other options for this list, send a mail to:
mailto:[EMAIL PROTECTED]

Reply via email to