Resolved a TODO about label alignment.

This commit is contained in:
Pietro Gagliardi 2014-08-01 13:14:10 -04:00
parent b1902686ca
commit 9c0aa7be5c
1 changed files with 1 additions and 1 deletions

View File

@ -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)