From bb9dda9eef90c4357e26d9c2979aac988cdd4fd1 Mon Sep 17 00:00:00 2001 From: Santiago Bragagnolo Date: Sun, 23 Feb 2020 00:42:36 +0000 Subject: [PATCH] Children! --- repository/Grafoscopio/GrafoscopioNewNotebook.class.st | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/repository/Grafoscopio/GrafoscopioNewNotebook.class.st b/repository/Grafoscopio/GrafoscopioNewNotebook.class.st index d24822d..f386236 100644 --- a/repository/Grafoscopio/GrafoscopioNewNotebook.class.st +++ b/repository/Grafoscopio/GrafoscopioNewNotebook.class.st @@ -552,7 +552,9 @@ GrafoscopioNewNotebook >> initializeWidgets [ body autoAccept: true. links := self newTextInput. tree := self newTreeTable. - tree addColumn: (SpStringTableColumn evaluated: #title). + tree + addColumn: (SpStringTableColumn evaluated: #title); + children: [ : node | node children ]. " tree childrenBlock: [ :node | node children value ]; displayBlock: [ :node | node title value ]." @@ -560,8 +562,7 @@ GrafoscopioNewNotebook >> initializeWidgets [ add: tree; add: header; add: body; - add: links. - + add: links ] { #category : #persistence }