From 5ec2c768face785c502ee6508b5ed5ed0124b307 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 10 Aug 2014 15:56:59 -0400 Subject: Made a more intelligent Table.preferredSize() for Mac OS X. --- redo/control_darwin.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'redo/control_darwin.m') diff --git a/redo/control_darwin.m b/redo/control_darwin.m index 8765e4c..ce1eca7 100644 --- a/redo/control_darwin.m +++ b/redo/control_darwin.m @@ -28,7 +28,7 @@ void setSmallControlFont(id control) [toNSControl(control) setFont:[NSFont systemFontOfSize:[NSFont systemFontSizeForControlSize:NSSmallControlSize]]]; } -// also good for NSTableView (TODO might not do what we want) and NSProgressIndicator +// also good for NSProgressIndicator struct xsize controlPreferredSize(id control) { NSControl *c; -- cgit v1.2.3