blob: 8f7801049a0db18edbb7c1cc7f645380dc325eb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "chrome/browser/cocoa/bookmark_button_cell.h"
@implementation BookmarkButtonCell
- (id)initTextCell:(NSString *)string {
if ((self = [super initTextCell:string])) {
[self setBordered:NO];
}
return self;
}
- (NSSize)cellSizeForBounds:(NSRect)aRect {
NSSize size = [super cellSizeForBounds:aRect];
size.width += 2;
size.height += 4;
return size;
}
@end
|