From eae975652ee498feedd5b07ec9d5f7c749cf1916 Mon Sep 17 00:00:00 2001 From: Ross Boucher Date: Fri, 26 Mar 2010 16:59:02 -0700 Subject: [PATCH] Add default line break mode. --- AppKit/CPBrowser.j | 1 + 1 file changed, 1 insertion(+) diff --git a/AppKit/CPBrowser.j b/AppKit/CPBrowser.j index c34976418..2774d8242 100644 --- a/AppKit/CPBrowser.j +++ b/AppKit/CPBrowser.j @@ -97,6 +97,7 @@ _prototypeView = [[CPTextField alloc] initWithFrame:CGRectMakeZero()]; [_prototypeView setVerticalAlignment:CPCenterVerticalTextAlignment]; [_prototypeView setValue:[CPColor whiteColor] forThemeAttribute:"text-color" inState:CPThemeStateSelected]; + [_prototypeView setLineBreakMode:CPLineBreakByTruncatingTail]; _horizontalScrollView = [[CPScrollView alloc] initWithFrame:[self bounds]];