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:
David Richardson committed 2026-11-13 11:27:34 -06:00
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];