diff options
Diffstat (limited to 'redo/table_darwin.go')
| -rw-r--r-- | redo/table_darwin.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/redo/table_darwin.go b/redo/table_darwin.go index 14b2c8d..37fcdf4 100644 --- a/redo/table_darwin.go +++ b/redo/table_darwin.go @@ -76,7 +76,8 @@ func (t *table) allocate(x int, y int, width int, height int, d *sizing) []*allo } func (t *table) preferredSize(d *sizing) (width, height int) { - return basepreferredSize(t, d) + s := C.tablePreferredSize(t._id) + return int(s.width), int(s.height) } func (t *table) commitResize(c *allocation, d *sizing) { |
