Does anyone know how to use setLeftCapWidth on the mac? I know that Apple uses it in iChat and atebits uses it in Tweetie for mac. So does anyone know how to re-create it?
A:
Assuming that what you want to do is draw button-like artwork that consists of a left image, a right image, and a tiled center image, then see NSDrawThreePartImage.
Ken
2009-09-20 07:31:29
I tried NSDrawThreePartImage but i cant get it to stop scaling the left cap (speech bubble) to resize the top cap while resizing the fill , same with the right cap of the bubble
timothy5216
2009-09-20 14:01:17
I even tried NSDrawNinePartImage but i still cant seem to get it to scale right
timothy5216
2009-09-20 14:09:22
The comments in the header describe exactly how everything is scaled.
Ken
2009-09-20 16:17:06