From d52cbb70772b27cb0ddbbddf3b75775991bbccc4 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Thu, 9 Sep 2010 12:30:15 -0700 Subject: [PATCH] Don't set placeholder text on hex text field --- AppKit/CPSliderColorPicker.j | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/AppKit/CPSliderColorPicker.j b/AppKit/CPSliderColorPicker.j index 14d911bdc..6bcbeb923 100644 --- a/AppKit/CPSliderColorPicker.j +++ b/AppKit/CPSliderColorPicker.j @@ -274,8 +274,7 @@ [_hexLabel setTextColor:[CPColor blackColor]]; //hex input box - _hexValue = [CPTextField textFieldWithStringValue: @"" placeholder: @"" width: 80]; - [_hexValue setFrameOrigin: CGPointMake(32, 225)]; + _hexValue = [[CPTextField alloc] initWithFrame: CGRectMake(32, 225, 80, 29)]; [_hexValue setEditable: YES]; [_hexValue setBezeled: YES]; [_hexValue setDelegate: self];