This commit is contained in:
Will McGugan
2023-02-20 16:29:03 +00:00
parent c3e84ab9d0
commit 3d1b3ce7e9

View File

@@ -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: