summaryrefslogtreecommitdiff
path: root/place.go
diff options
context:
space:
mode:
Diffstat (limited to 'place.go')
-rw-r--r--place.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/place.go b/place.go
index 0dd7568..35b045a 100644
--- a/place.go
+++ b/place.go
@@ -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
}