diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-30 17:32:10 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-30 17:32:10 -0400 |
| commit | 713be62f16b2f621eb104a1ba916ef5b1781eecc (patch) | |
| tree | 19cce1ce3efab047a3cb850eac6919691c5e0310 /redo/control_unix.go | |
| parent | 3d922c87fa3b0e8251f0c917a871b15b1e56d140 (diff) | |
Applied Labels being vertically aligned to the top when next to a Table in the GTK+ backend.
Diffstat (limited to 'redo/control_unix.go')
| -rw-r--r-- | redo/control_unix.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/redo/control_unix.go b/redo/control_unix.go index a5746e7..92baa1b 100644 --- a/redo/control_unix.go +++ b/redo/control_unix.go @@ -81,8 +81,7 @@ func newControl(widget *C.GtkWidget) *controlbase { C.gtk_widget_size_allocate(c.widget, &r) } c.fgetAuxResizeInfo = func(d *sizing) { -//TODO -// d.shouldVAlignTop = (s.ctype == c_listbox) || (s.ctype == c_area) + // controls set this to true if a Label to its left should be vertically aligned to the control's top d.shouldVAlignTop = false } return c |
