srecord noeq G22ProjectOverviewPanel(G22Utils g22utils) { JSyntaxTextFileEditor storyView; cachedVisualize { storyView = new JSyntaxTextFileEditor(g22utils.projectStoryTextFile()) .uneditable(true); storyView.adaptSyntaxTextArea = textArea -> g22_adaptSyntaxTextAreaForHashRefs(textArea, g22utils); addInFront(storyView.buttons(), jImageButtonScaledToWidth(16, #1103068, "Edit", rThread { //g22utils.projectActions.editProjectStory(); storyView.uneditable(false); })); ret withTopAndBottomMargin(jRaisedCenteredSection("Project " + quote(g22utils.projectName()) + " Overview", jhsplit(0.75, jCenteredSection("Project Story", storyView.visualize()), northAndCenterWithMargin( new G22AutoStartPanel(g22utils).visualize(), new G22VariablesPanel(g22utils).compactView(true).visualize() )) )); } }