diff options
Diffstat (limited to 'redo/control_darwin.go')
| -rw-r--r-- | redo/control_darwin.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redo/control_darwin.go b/redo/control_darwin.go index 8248fd9..bb24337 100644 --- a/redo/control_darwin.go +++ b/redo/control_darwin.go @@ -30,8 +30,8 @@ func newControl(id C.id) *controlbase { } c.fallocate = baseallocate(c) c.fpreferredSize = func(d *sizing) (int, int) { - // TODO - return 64, 32 + s := C.controlPrefSize(c.id) + return int(s.width), int(s.height) } c.fcommitResize = func(a *allocation, d *sizing) { //TODO |
