refactor: remove redundant Box wrappers
- dock/main.py: canvas_box eliminated, Revealer wraps canvas directly - desktop/system.py: two single-child Box wrappers removed - controlcenter/player.py: redundant album_cover wrapper removed - controlcenter/expanded_player.py: same pattern as player.py
This commit is contained in:
4 files changed
+22
-42
No files matched your search
@@ -54,21 +54,12 @@ class SystemInfoBase(Box):
|
||||
h_align="center",
|
||||
v_align="center",
|
||||
children=[
|
||||
Box(
|
||||
children=[
|
||||
Overlay(
|
||||
child=self.progress,
|
||||
tooltip_text="",
|
||||
overlays=self.main_label,
|
||||
)
|
||||
]
|
||||
),
|
||||
Box(
|
||||
h_align="center",
|
||||
justification="centre",
|
||||
orientation="v",
|
||||
children=[self.info_container],
|
||||
Overlay(
|
||||
child=self.progress,
|
||||
tooltip_text="",
|
||||
overlays=self.main_label,
|
||||
),
|
||||
self.info_container,
|
||||
],
|
||||
)
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user