rm printf's
This commit is contained in:
parent
878f55cfcb
commit
5f2b7daae3
10
table.go
10
table.go
|
@ -77,7 +77,7 @@ func (grid *Node) makeGridLabel(pb *guipb.Widget, w int, h int) *Node {
|
||||||
a.State.AtH = h
|
a.State.AtH = h
|
||||||
a.State.GridOffset.X = w
|
a.State.GridOffset.X = w
|
||||||
a.State.GridOffset.Y = h
|
a.State.GridOffset.Y = h
|
||||||
log.Info("makeGridLabel()", a.State)
|
// log.Info("makeGridLabel()", a.State)
|
||||||
return AddNode(a)
|
return AddNode(a)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@ func (me *TreeInfo) makeTable(t *guipb.Table) {
|
||||||
for _, name := range t.Order {
|
for _, name := range t.Order {
|
||||||
// log.Info("got order:", t.Title, name)
|
// log.Info("got order:", t.Title, name)
|
||||||
if me.addTableRow(t, grid, name, w) {
|
if me.addTableRow(t, grid, name, w) {
|
||||||
log.Info("tree:row() COLUMN GOOD", t.Title, name, w, h)
|
// log.Info("tree:row() COLUMN GOOD", t.Title, name, w, h)
|
||||||
} else {
|
} else {
|
||||||
log.Info("tree:row() COLOMN FAIL", t.Title, name, w, h)
|
log.Info("tree:row() COLOMN FAIL", t.Title, name, w, h)
|
||||||
}
|
}
|
||||||
|
@ -136,7 +136,7 @@ func (me *TreeInfo) addTableRow(t *guipb.Table, grid *Node, name string, w int)
|
||||||
// log.Info("skip string row:", r.Header.Name, "!=", name)
|
// log.Info("skip string row:", r.Header.Name, "!=", name)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
log.Info("tree: Add()ing to grid here", r.Header.Id, r.Header.Name, w, h)
|
// log.Info("tree: Add()ing to grid here", r.Header.Id, r.Header.Name, w, h)
|
||||||
head := grid.makeGridLabel(r.Header, w, h)
|
head := grid.makeGridLabel(r.Header, w, h)
|
||||||
me.Add(head)
|
me.Add(head)
|
||||||
h += 1
|
h += 1
|
||||||
|
@ -154,7 +154,7 @@ func (me *TreeInfo) addTableRow(t *guipb.Table, grid *Node, name string, w int)
|
||||||
// log.Info("skip sint row:", r.Header.Name, "!=", name)
|
// log.Info("skip sint row:", r.Header.Name, "!=", name)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
log.Info("tree: Add()ing to grid here", r.Header.Id, r.Header.Name, w, h)
|
// log.Info("tree: Add()ing to grid here", r.Header.Id, r.Header.Name, w, h)
|
||||||
head := grid.makeGridLabel(r.Header, w, h)
|
head := grid.makeGridLabel(r.Header, w, h)
|
||||||
me.Add(head)
|
me.Add(head)
|
||||||
h += 1
|
h += 1
|
||||||
|
@ -173,7 +173,7 @@ func (me *TreeInfo) addTableRow(t *guipb.Table, grid *Node, name string, w int)
|
||||||
// log.Info("skip sint row:", r.Header.Name, "!=", name)
|
// log.Info("skip sint row:", r.Header.Name, "!=", name)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
log.Info("tree: Add()ing to grid here", r.Header.Id, r.Header.Name, w, h)
|
// log.Info("tree: Add()ing to grid here", r.Header.Id, r.Header.Name, w, h)
|
||||||
head := grid.makeGridLabel(r.Header, w, h)
|
head := grid.makeGridLabel(r.Header, w, h)
|
||||||
me.Add(head)
|
me.Add(head)
|
||||||
h += 1
|
h += 1
|
||||||
|
|
Loading…
Reference in New Issue