Skip to content

Commit

Permalink
Update docs/tutorial.md
Browse files Browse the repository at this point in the history
Co-authored-by: Darren Burns <[email protected]>
  • Loading branch information
willmcgugan and darrenburns authored Nov 19, 2024
1 parent 80bf6eb commit 0ecd621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ We've imported two new widgets in this code: [`Button`](widgets/button.md) for t
Additionally, we've imported [`Horizontal`][textual.containers.Horizontal] and [`VerticalScroll`][textual.containers.VerticalScroll] from `textual.containers` (as the name of the module suggests, *containers* are widgets which contain other widgets).
We will use these container widgets to define the general layout of our interface.

The `TimeDisplay` is currently very simple, all it does is extend `Digits` without adding any new. We will flesh this out later.
The `TimeDisplay` is currently very simple, all it does is extend `Digits` without adding any new features. We will flesh this out later.

The `Stopwatch` widget class extends the `HorizontalGroup` container class, which will arrange its children into a horizontal row. The Stopwatch's `compose()` adds those children, which correspond to the components from the sketch above.

Expand Down

0 comments on commit 0ecd621

Please sign in to comment.