Skip to content

Commit 0f54a0c

Browse files
committed
docs: remove stale leftCol/rightCol references from Tutorial 2 step snippets
1 parent 4335a3a commit 0f54a0c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/tutorials/02-dashboard.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ var graph = Controls.LineGraph()
9494
statsPanel.AddControl(uptimeLabel);
9595
statsPanel.AddControl(timeLabel);
9696
statsPanel.AddControl(graph);
97-
leftCol.AddContent(statsPanel);
9897
```
9998

10099
The graph starts empty — it fills with data points once the async thread starts.
@@ -112,9 +111,10 @@ var logPanel = Controls.ScrollablePanel()
112111
.WithAutoScroll()
113112
.WithVerticalAlignment(VerticalAlignment.Fill)
114113
.Build();
115-
rightCol.AddContent(logPanel);
116114
```
117115

116+
Column wiring — passing `statsPanel` and `logPanel` into their respective grid columns — happens in the grid builder shown in Step 3 and in the Complete Program.cs below, not in these step snippets.
117+
118118
Each log entry is a new control added dynamically via `logPanel.AddControl(...)`. The panel tracks total content height and scrolls automatically.
119119

120120
---

0 commit comments

Comments
 (0)