mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Fix typo and capitalisation
This commit is contained in:
@@ -12,7 +12,7 @@ alt_titles:
|
|||||||
!!! tip
|
!!! tip
|
||||||
|
|
||||||
See [*How To Center Things*](https://textual.textualize.io/how-to/center-things/) in the
|
See [*How To Center Things*](https://textual.textualize.io/how-to/center-things/) in the
|
||||||
Textual documentation for a more comprensive answer to this question.
|
Textual documentation for a more comprehensive answer to this question.
|
||||||
|
|
||||||
To center a widget within a container use
|
To center a widget within a container use
|
||||||
[`align`](https://textual.textualize.io/styles/align/). But remember that
|
[`align`](https://textual.textualize.io/styles/align/). But remember that
|
||||||
@@ -74,7 +74,7 @@ If you want them more like this:
|
|||||||
+---------------+
|
+---------------+
|
||||||
```
|
```
|
||||||
|
|
||||||
the best approach is to wrap each widget in a [`Center`
|
The best approach is to wrap each widget in a [`Center`
|
||||||
container](https://textual.textualize.io/api/containers/#textual.containers.Center)
|
container](https://textual.textualize.io/api/containers/#textual.containers.Center)
|
||||||
that individually centers it. For example:
|
that individually centers it. For example:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user