Tab-stop filled with dots?
Tab-stop filled with dots?
- Subject: Tab-stop filled with dots?
- From: Uko Fiedler <email@hidden>
- Date: Fri, 25 Apr 2003 18:50:43 +0200
Hey
anyone knows how to fill a tab-stop with dots the way you know from programs like word or quark? You can see doted tab-stops in the contents page of nearly every book. The page numbers are right aligned and the space between the last character and the page number is filled up with dots.
I can imagine a workaround and belief this is not the correct way: it follows the way Apples CircleView takes:
In drawRect search the character range of the page being drawn for tab-stops. Get the bounding rectangle of all continuous tabs in a line an over paint it with dots. But how to hangle this correctly with apples text system?
thanks uko
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.