fix panel fill

This commit is contained in:
Ravioli8235
2024-06-21 15:58:15 +02:00
parent fb3ed6b39a
commit bfefa94a7b

View File

@@ -864,12 +864,11 @@ class AutoPlayManager(Vertical):
classes="subtitle", classes="subtitle",
id="autoplay-subtitle", id="autoplay-subtitle",
) )
with Horizontal(id="autoplay-container"): yield Checkbox(
yield Checkbox( value=self.config.auto_play,
value=self.config.auto_play, id="autoplay-switch",
id="autoplay-switch", label="Enable autoplay",
label="Enable autoplay", )
)
@on(Checkbox.Changed, "#autoplay-switch") @on(Checkbox.Changed, "#autoplay-switch")
def changed_skip(self, event: Checkbox.Changed): def changed_skip(self, event: Checkbox.Changed):