From f4bb7360d4060d9c62c30d6b5508683a4fb6c472 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 29 Jul 2014 13:48:31 -0400 Subject: Added Label and implemented it on all platforms. --- redo/sizing_unix.go | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'redo/sizing_unix.go') diff --git a/redo/sizing_unix.go b/redo/sizing_unix.go index d94bc01..abca80d 100644 --- a/redo/sizing_unix.go +++ b/redo/sizing_unix.go @@ -50,19 +50,6 @@ func (w *widgetbase) allocate(x int, y int, width int, height int, d *sizing) [] } func (w *widgetbase) commitResize(c *allocation, d *sizing) { -// TODO -/* - if s.ctype == c_label && !s.alternate && c.neighbor != nil { - c.neighbor.getAuxResizeInfo(d) - if d.shouldVAlignTop { - // TODO should it be center-aligned to the first line or not - gtk_misc_set_alignment(s.widget, 0, 0) - } else { - gtk_misc_set_alignment(s.widget, 0, 0.5) - } - } -*/ - // as we resize on size-allocate, we have to also use size-allocate on our children // this is fine anyway; in fact, this allows us to move without knowing what the container is! // this is what GtkBox does anyway -- cgit v1.2.3