mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Address review comments.
This commit is contained in:
@@ -2,7 +2,7 @@ Button {
|
|||||||
margin: 1 2;
|
margin: 1 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
Horizontal>VerticalScroll {
|
Horizontal > VerticalScroll {
|
||||||
width: 24;
|
width: 24;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ class Container(Widget):
|
|||||||
|
|
||||||
|
|
||||||
class Vertical(Widget):
|
class Vertical(Widget):
|
||||||
"""A container which lays children vertically."""
|
"""A container which arranges children vertically."""
|
||||||
|
|
||||||
DEFAULT_CSS = """
|
DEFAULT_CSS = """
|
||||||
Vertical {
|
Vertical {
|
||||||
@@ -26,7 +26,7 @@ class Vertical(Widget):
|
|||||||
|
|
||||||
|
|
||||||
class VerticalScroll(Widget):
|
class VerticalScroll(Widget):
|
||||||
"""A container which aligns children vertically and overflows automatically."""
|
"""A container which arranges children vertically, with an automatic vertical scrollbar."""
|
||||||
|
|
||||||
DEFAULT_CSS = """
|
DEFAULT_CSS = """
|
||||||
VerticalScroll {
|
VerticalScroll {
|
||||||
@@ -38,7 +38,7 @@ class VerticalScroll(Widget):
|
|||||||
|
|
||||||
|
|
||||||
class Horizontal(Widget):
|
class Horizontal(Widget):
|
||||||
"""A container which lays children horizontally."""
|
"""A container which arranges children horizontally."""
|
||||||
|
|
||||||
DEFAULT_CSS = """
|
DEFAULT_CSS = """
|
||||||
Horizontal {
|
Horizontal {
|
||||||
@@ -50,7 +50,7 @@ class Horizontal(Widget):
|
|||||||
|
|
||||||
|
|
||||||
class HorizontalScroll(Widget):
|
class HorizontalScroll(Widget):
|
||||||
"""A container which lays children horizontally and overflows automatically."""
|
"""A container which arranges children horizontally, with an automatic horizontal scrollbar."""
|
||||||
|
|
||||||
DEFAULT_CSS = """
|
DEFAULT_CSS = """
|
||||||
HorizontalScroll {
|
HorizontalScroll {
|
||||||
|
|||||||
Reference in New Issue
Block a user