Edit AllPages

My code works fine as long as the text on the right doesn’t get bigger then the text tab.

The desired effect is that it would push the text on the right over… but it doesn’t.

My Code:

I can't post this code because of wiki spam protection.

- (NSDictionary *)ingredientAttributes {
NSMutableParagraphStyle * paraStyle = TRNewMutableParagraphStyle();

NSTextTab * rightTabStop = [[[NSTextTab alloc] initWithType:NSRightTabStopType location:80] autorelease];
NSTextTab * leftTabStop = [[[NSTextTab alloc] initWithType:NSLeftTabStopType location:85] autorelease];

[paraStyle setTabStops:[NSArray arrayWithObjects:rightTabStop, leftTabStop, nil]];
[paraStyle setHeadIndent:85];
[paraStyle setAlignment:NSJustifiedTextAlignment];
//[paraStyle setLineBreakMode:NSLineBreakByTruncatingTail];

return [NSDictionary dictionaryWithObjectsAndKeys:
	nil]; }

Does anyone know how to fix this?