fix: the notch and indicator are now in same children

This commit is contained in:
sankalp committed 2026-07-21 14:47:18 +05:45
1 parent 0e805d24ec
commit ecd7061edc
1 file changed
+8 -3
+8 -3
View File
@@ -86,7 +86,6 @@ class ContentBox(CenterBox):
orientation="vertical", orientation="vertical",
v_expand=True, v_expand=True,
start_children=[ start_children=[
IndicatorBox(),
DateTime( DateTime(
formatters=["%A,%B %-d"], formatters=["%A,%B %-d"],
interval=10000, interval=10000,
@@ -153,7 +152,13 @@ class LockScreen(Window):
anchor="center", anchor="center",
child=Box( child=Box(
orientation="vertical", orientation="vertical",
children=[self.lock_notch, self.content], children=[
CenterBox(
center_children=self.lock_notch,
end_children=IndicatorBox(),
),
self.content,
],
), ),
) )
@@ -170,7 +175,7 @@ class LockScreen(Window):
name="lock-notch", name="lock-notch",
orientation="h", orientation="h",
h_align="center", h_align="center",
v_align="center", v_align="start",
start_children=Box( start_children=Box(
name="lock-notch-corner-left", name="lock-notch-corner-left",
orientation="v", orientation="v",