PDA

View Full Version : Need help to design push button



keyurparekh
29th March 2011, 10:56
Hi Friends.

I am currently facing problem to change radius of push button...
I have read document for style sheet of push button. There is one line to change push button radius.

but i want button whose three sides are curvature and one corner is flat.

but when i set radius it sets radius of all four corners.

So please if any body knows let me is it possible to change only one corner of pushbutton...

Please help me in this matter.

Thanks in advance.

Regards,
Keyur Parekh

squidge
29th March 2011, 12:58
Perhaps a picture would help us understand what you want?

SixDegrees
29th March 2011, 13:03
You will likely have to do this yourself, perhaps with an image and an image mask, or possibly with a custom paint routine.

high_flyer
29th March 2011, 13:06
I think he wants one corner to stay sharp, while the other three should be rounded.

Have a look at the style sheet documentation.
You can use border-top-left-radius, border-top-right-radius ect, to control each corners radius.

keyurparekh
29th March 2011, 13:39
Hi friends

I have attach file.. in that push button drawing has given...
so i want to make push button exactly same shape....
please help me in that matter.

Added after 8 minutes:

thanks so much for help........
i have done it..........
i have done with border-top-left-radius option...
thanks once again for help........