diff --git a/redo/button_unix.go b/redo/button_unix.go index 73514b8..d6a19bb 100644 --- a/redo/button_unix.go +++ b/redo/button_unix.go @@ -86,5 +86,5 @@ func (b *button) commitResize(a *allocation, d *sizing) { } func (b *button) getAuxResizeInfo(d *sizing) { - basegetAuxResizeInfo(d) + basegetAuxResizeInfo(b, d) } diff --git a/redo/checkbox_unix.go b/redo/checkbox_unix.go index 070b84f..034dbf8 100644 --- a/redo/checkbox_unix.go +++ b/redo/checkbox_unix.go @@ -96,5 +96,5 @@ func (c *checkbox) commitResize(a *allocation, d *sizing) { } func (c *checkbox) getAuxResizeInfo(d *sizing) { - basegetAuxResizeInfo(d) + basegetAuxResizeInfo(c, d) } diff --git a/redo/control_unix.go b/redo/control_unix.go index 490d5a2..715e3d3 100644 --- a/redo/control_unix.go +++ b/redo/control_unix.go @@ -76,7 +76,7 @@ func dobasecommitResize(w *C.GtkWidget, c *allocation, d *sizing) { C.gtk_widget_size_allocate(w, &r) } -func basegetAuxResizeInfo(d *sizing) { +func basegetAuxResizeInfo(c Control, d *sizing) { // controls set this to true if a Label to its left should be vertically aligned to the control's top d.shouldVAlignTop = false } diff --git a/redo/label_unix.go b/redo/label_unix.go index 7ff6c1d..7697f59 100644 --- a/redo/label_unix.go +++ b/redo/label_unix.go @@ -92,5 +92,5 @@ func (l *label) commitResize(c *allocation, d *sizing) { } func (l *label) getAuxResizeInfo(d *sizing) { - basegetAuxResizeInfo(d) + basegetAuxResizeInfo(l, d) } diff --git a/redo/tab_unix.go b/redo/tab_unix.go index ba7d106..264ce5f 100644 --- a/redo/tab_unix.go +++ b/redo/tab_unix.go @@ -72,5 +72,5 @@ func (t *tab) commitResize(a *allocation, d *sizing) { } func (t *tab) getAuxResizeInfo(d *sizing) { - basegetAuxResizeInfo(d) + basegetAuxResizeInfo(t, d) } diff --git a/redo/textfield_unix.go b/redo/textfield_unix.go index fa79347..53dfcaf 100644 --- a/redo/textfield_unix.go +++ b/redo/textfield_unix.go @@ -75,5 +75,5 @@ func (t *textField) commitResize(a *allocation, d *sizing) { } func (t *textField) getAuxResizeInfo(d *sizing) { - basegetAuxResizeInfo(d) + basegetAuxResizeInfo(t, d) }