Add note about Textual limitation.

This commit is contained in:
Rodrigo Girão Serrão
2023-01-07 09:47:56 +00:00
parent aad41b8de0
commit c0d7f7cebf
2 changed files with 6 additions and 2 deletions

View File

@@ -2,6 +2,10 @@
The `border` rule enables the drawing of a box around a widget.
!!! note
Due to a Textual limitation, [`border`](./border.md) and [`outline`](./outline.md) cannot coexist in the same edge of a widget.
## Syntax
--8<-- "docs/snippets/syntax_block_start.md"

View File

@@ -2,9 +2,9 @@
The `outline` rule enables the drawing of a box around the content of a widget, which means the outline is drawn _over_ the content area.
!!! warning
!!! note
Not to be confused with [`border`](./border.md).
Due to a Textual limitation, [`border`](./border.md) and [`outline`](./outline.md) cannot coexist in the same edge of a widget.
## Syntax