Hi All

I want to create a Canvas with rounded corners and a drop shadow
(easy) and with a bar at the top and bottom (similar to the title bar
at the top of a panel) that contain text and buttons.

I tried this to begin with by creating a canvas with rounded corners
and putting another canvas as a bar at the top and bottom which was a
darker color. The inner canvases both bled outside the rounded corners
though so I ended up with a square corner again.

Secondly I tried 1 canvas for the middle with border sides set to
"left right" and 1 canvas at the top and bottom with a fill color and
with rounded corners. I set border sides on the top one to "left top
right". This worked in so far as I had a solid border going round the
edge of the box but the fill in the top and bottom canvases had
rounded corners at all 4 corners, not just the 2 corners where there
were actually corners.

The obvious way to do it is to have an image as a background with
rounded corners and shadows as part of the image, I'd rather do it
with styles if I could though.

Thanks

Reply via email to