diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-09 21:29:37 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-09 21:29:37 -0400 |
| commit | ea3dd093f7941cfc74af085fffc8e3f24b2ce0d5 (patch) | |
| tree | 0f7abcc996179b9e3a7d948c45ea7c59e1dc8235 /redo/label_darwin.go | |
| parent | eec2f985b0a78b3c15a3e71e14f897a3ccab5c97 (diff) | |
Changed PrefSize to PreferredSize throughout.
Diffstat (limited to 'redo/label_darwin.go')
| -rw-r--r-- | redo/label_darwin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/label_darwin.go b/redo/label_darwin.go index ab2cbab..d42bd0a 100644 --- a/redo/label_darwin.go +++ b/redo/label_darwin.go @@ -63,7 +63,7 @@ func (l *label) commitResize(c *allocation, d *sizing) { if d.neighborAlign.baseline != 0 { // no adjustment needed if the given control has no baseline // in order for the baseline value to be correct, the label MUST BE AT THE HEIGHT THAT OS X WANTS IT TO BE! // otherwise, the baseline calculation will be relative to the bottom of the control, and everything will be wrong - origsize := C.controlPrefSize(l._id) + origsize := C.controlPreferredSize(l._id) c.height = int(origsize.height) newrect := C.struct_xrect{ x: C.intptr_t(c.x), |
