summaryrefslogtreecommitdiff
path: root/redo/sizing_unix.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-29 13:48:31 -0400
committerPietro Gagliardi <[email protected]>2014-07-29 13:48:31 -0400
commitf4bb7360d4060d9c62c30d6b5508683a4fb6c472 (patch)
treed25ce5d5195a6ffcc01def1b4ae8015b7c9ce723 /redo/sizing_unix.go
parent8d7f0c9a62b9108e262380ae62f8c8b9cbb12bfc (diff)
Added Label and implemented it on all platforms.
Diffstat (limited to 'redo/sizing_unix.go')
-rw-r--r--redo/sizing_unix.go13
1 files changed, 0 insertions, 13 deletions
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