mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add help text for offset-x and offset-y properies
This commit is contained in:
@@ -8,5 +8,4 @@
|
||||
.list-item {
|
||||
height: 8;
|
||||
background: dark_blue;
|
||||
offset: 12 1;
|
||||
}
|
||||
|
||||
@@ -80,7 +80,8 @@ class BasicApp(App):
|
||||
self.focused.display = not self.focused.display
|
||||
|
||||
def action_toggle_border(self):
|
||||
self.focused.styles.border = [("solid", "red"), ("dashed", "white")]
|
||||
# self.focused.styles.border = [("solid", "red"), ("dashed", "white")]
|
||||
self.focused.styles.offset = (12, "1x")
|
||||
|
||||
|
||||
BasicApp.run(css_file="uber.css", log="textual.log", log_verbosity=1)
|
||||
|
||||
Reference in New Issue
Block a user