IconicButton ohne Border!

Matej Košík kosik at fiit.stuba.sk
Wed Aug 24 13:17:31 UTC 2005


EL Marjani Radouane wrote:
> Hi,
> 
> I want to have a IconicButton aber without Border.
> 
> My Exemple:
> 
>  f := Form fromFileNamed:'HButton.gif'.
>  HButton := IconicButton new.
>  HButton labelGraphic: f.
>  HButton borderWidth:0.
> 
> So it's Ok, but I will have just a Button with Picture
> and without Border. 
> Regards,
> Thanks
> 
> EL Marjani Radouane

Hi,

It was not utterly clear if you need a button with, or without border. 
Either way, there are several methods related to the border of a morph.

	Morph borderWidth
	Morph borderWidth:
	Morph borderColor
	Morph bordercolor:
	Morph cornerStyle
	Morph cornerStyle
	Morph roundedCorners

are just some of them I can quicly recall. These do not enable you to do 
what you want?

The thinkness and the color of the border can be easily influenced.
-- 
Matej Košík



More information about the Squeak-dev mailing list