func (a *area) SetSize(width, height int) { a.width = width a.height = height // set the frame size to set the area's effective size on the Cocoa side C.moveControl(a.id, 0, 0, C.intptr_t(a.width), C.intptr_t(a.height)) }
func dobasecommitResize(id C.id, c *allocation, d *sizing) { C.moveControl(id, C.intptr_t(c.x), C.intptr_t(c.y), C.intptr_t(c.width), C.intptr_t(c.height)) }
func (c *controlSingleObject) xresize(x int, y int, width int, height int, d *sizing) { C.moveControl(c.id, C.intptr_t(x), C.intptr_t(y), C.intptr_t(width), C.intptr_t(height)) }
func (s *spinbox) resize(x int, y int, width int, height int, d *sizing) { // TODO C.moveControl(s.textfield(), C.intptr_t(x), C.intptr_t(y), C.intptr_t(width-20), C.intptr_t(height)) C.moveControl(s.stepper(), C.intptr_t(x+width-15), C.intptr_t(y), C.intptr_t(15), C.intptr_t(height)) }