mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
syntax
This commit is contained in:
@@ -74,13 +74,12 @@ class EasingApp(App):
|
||||
|
||||
yield EasingButtons()
|
||||
with Vertical():
|
||||
yield Horizontal(
|
||||
Label("Animation Duration:", id="label"), duration_input, id="inputs"
|
||||
)
|
||||
yield Horizontal(
|
||||
self.animated_bar,
|
||||
Container(self.opacity_widget, id="other"),
|
||||
)
|
||||
with Horizontal(id="inputs"):
|
||||
yield Label("Animation Duration:", id="label")
|
||||
yield duration_input
|
||||
with Horizontal():
|
||||
yield self.animated_bar
|
||||
yield Container(self.opacity_widget, id="other")
|
||||
yield Footer()
|
||||
|
||||
def on_button_pressed(self, event: Button.Pressed) -> None:
|
||||
|
||||
Reference in New Issue
Block a user