mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-28 01:12:03 +00:00
Tests: Size SmartFoldersDemo editor title to its bold font
- Call sizeToFit on sheet title after font change; title no longer truncates
This commit is contained in:
1 parent
aa8e8036c0
commit
00c3972fa5
1 file changed
+1
@@ -117,6 +117,7 @@ var EditorWidth = 680.0,
|
||||
|
||||
var title = [CPTextField labelWithTitle:@"Smart Folder"];
|
||||
[title setFont:[CPFont boldSystemFontOfSize:13.0]];
|
||||
[title sizeToFit];
|
||||
[title setFrameOrigin:CGPointMake(20, 14)];
|
||||
[content addSubview:title];
|
||||
|
||||
|
||||
Reference in new issue
Block a user