diff options
Diffstat (limited to 'place.go')
| -rw-r--r-- | place.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -35,7 +35,7 @@ func (tk *guiWidget) Position() (int, int) { } func (w *guiWidget) placeBox(startW int, startH int) { - if w.WidgetType != widget.Box { + if w.node.WidgetType != widget.Box { return } @@ -73,7 +73,7 @@ func (tk *guiWidget) placeWidgets(startW int, startH int) (int, int) { tk.startW = startW tk.startH = startH - switch tk.WidgetType { + switch tk.node.WidgetType { case widget.Window: newW := startW newH := startH @@ -128,7 +128,7 @@ func (tk *guiWidget) placeWidgets(startW int, startH int) (int, int) { func (w *guiWidget) placeGrid(startW int, startH int) (int, int) { // w.showWidgetPlacement("grid0:") - if w.WidgetType != widget.Grid { + if w.node.WidgetType != widget.Grid { return 0, 0 } |
