Consistent error messaging across CSS and inline styles

This commit is contained in:
Darren Burns
2022-04-20 17:17:28 +01:00
parent 637b14126a
commit 92ef2e093e
10 changed files with 83 additions and 20 deletions

View File

@@ -87,8 +87,8 @@ class BasicApp(App):
def action_increase_margin(self):
old_margin = self.focused.styles.margin
new_margin = old_margin + Spacing.all(1)
self.focused.styles.margin = new_margin
# new_margin = old_margin + (1,1,1)
self.focused.styles.padding = (1, 1, 1)
BasicApp.run(css_file="uber.css", log="textual.log", log_verbosity=1)