From 9c0aa7be5c3f3f790b36f0b65512fdea865e8084 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 1 Aug 2014 13:14:10 -0400 Subject: Resolved a TODO about label alignment. --- redo/basicctrls_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redo/basicctrls_unix.go b/redo/basicctrls_unix.go index 1271b88..734388c 100644 --- a/redo/basicctrls_unix.go +++ b/redo/basicctrls_unix.go @@ -176,7 +176,7 @@ func (l *label) labelcommitResize(c *allocation, d *sizing) { if !l.standalone && c.neighbor != nil { c.neighbor.getAuxResizeInfo(d) if d.shouldVAlignTop { - // TODO should it be center-aligned to the first line or not + // don't bother aligning it to the first line of text in the control; this is harder than it's worth (thanks gregier in irc.gimp.net/#gtk+) C.gtk_misc_set_alignment(l.misc, 0, 0) } else { C.gtk_misc_set_alignment(l.misc, 0, 0.5) -- cgit v1.2.3