# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1336397391 0 # Node ID daa59fc8d6e54670f720f5de23b73517f988f649 # Parent e2c5715d057dbb41c95520a6e71602a6934296dc Disable wrapping on entryfields and static text on Mac. Also enable scrolling on entryfields... I seem to remember not doing this in the past for some reason but it seems to be working now. :) diff -r e2c5715d057d -r daa59fc8d6e5 mac/dw.m --- a/mac/dw.m Sun May 06 00:02:02 2012 +0000 +++ b/mac/dw.m Mon May 07 13:29:51 2012 +0000 @@ -4135,6 +4135,8 @@ DWEntryField *entry = [[DWEntryField alloc] init]; [entry setStringValue:[ NSString stringWithUTF8String:text ]]; [entry setTag:cid]; + [[entry cell] setScrollable:YES]; + [[entry cell] setWraps:NO]; return entry; } @@ -4149,6 +4151,8 @@ DWEntryFieldPassword *entry = [[DWEntryFieldPassword alloc] init]; [entry setStringValue:[ NSString stringWithUTF8String:text ]]; [entry setTag:cid]; + [[entry cell] setScrollable:YES]; + [[entry cell] setWraps:NO]; return entry; } @@ -5321,6 +5325,7 @@ { [[textfield cell] setFont:DWDefaultFont]; } + [[textfield cell] setWraps:NO]; return textfield; }