Fixed Styling
This commit is contained in:
1 parent
66464df825
commit
44987758a8
6 files changed
+64
-46
No files matched your search
@@ -164,7 +164,7 @@ class BatteryControl(Box):
|
||||
name="control-center-widgets",
|
||||
**kwargs,
|
||||
)
|
||||
self.set_size_request(374, -1)
|
||||
self.set_size_request(354, -1)
|
||||
|
||||
self.parent = parent
|
||||
self.battery_service = Battery()
|
||||
|
||||
@@ -442,30 +442,30 @@ class ModusControlCenter(Window):
|
||||
self.bluetooth_widgets = Box(
|
||||
orientation="vertical",
|
||||
h_expand=True,
|
||||
name="control-center-widgets",
|
||||
v_expand=True,
|
||||
children=[
|
||||
Box(
|
||||
orientation="horizontal",
|
||||
name="top-widget",
|
||||
h_expand=True,
|
||||
children=[
|
||||
Box(
|
||||
orientation="vertical",
|
||||
name="wb-widget",
|
||||
style_classes="menu",
|
||||
spacing=5,
|
||||
children=[
|
||||
self.bluetooth_man,
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
self.bluetooth_man,
|
||||
# Box(
|
||||
# orientation="horizontal",
|
||||
# name="top-widget",
|
||||
# h_expand=True,
|
||||
# children=[
|
||||
# Box(
|
||||
# orientation="vertical",
|
||||
# name="wb-widget",
|
||||
# style_classes="menu",
|
||||
# spacing=5,
|
||||
# children=[
|
||||
# ],
|
||||
# ),
|
||||
# ],
|
||||
# ),
|
||||
],
|
||||
)
|
||||
self.bluetooth_center_box = CenterBox(
|
||||
start_children=[self.bluetooth_widgets]
|
||||
self.bluetooth_center_box = Box(
|
||||
h_expand=True, v_expand=True, children=[self.bluetooth_widgets]
|
||||
)
|
||||
self.bluetooth_center_box.set_size_request(300, -1)
|
||||
self.bluetooth_center_box.set_size_request(350, -1)
|
||||
|
||||
def _ensure_wifi_widgets(self):
|
||||
"""Lazy load wifi widgets"""
|
||||
@@ -473,13 +473,15 @@ class ModusControlCenter(Window):
|
||||
self.wifi_widgets = Box(
|
||||
orientation="vertical",
|
||||
h_expand=True,
|
||||
name="control-center-widgets",
|
||||
v_expand=True,
|
||||
children=[
|
||||
self.wifi_man,
|
||||
],
|
||||
)
|
||||
self.wifi_center_box = CenterBox(start_children=[self.wifi_widgets])
|
||||
self.wifi_center_box.set_size_request(300, -1)
|
||||
self.wifi_center_box = Box(
|
||||
h_expand=True, v_expand=True, children=[self.wifi_widgets]
|
||||
)
|
||||
self.wifi_center_box.set_size_request(350, -1)
|
||||
|
||||
def _ensure_per_app_volume_widgets(self):
|
||||
"""Lazy load per-app volume widgets"""
|
||||
|
||||
@@ -241,7 +241,6 @@ class WifiConnections(Box):
|
||||
super().__init__(
|
||||
spacing=8,
|
||||
orientation="vertical",
|
||||
style="margin: 8px",
|
||||
name="wifi-connections",
|
||||
**kwargs,
|
||||
)
|
||||
@@ -326,7 +325,6 @@ class WifiConnections(Box):
|
||||
child_revealed=False,
|
||||
)
|
||||
|
||||
self.other_networks_revealer.child_revealed = False
|
||||
# Create More Settings button (same style as Other Networks button)
|
||||
self.more_settings_button = Button(
|
||||
child=Label("More Settings", h_align="start"),
|
||||
|
||||
@@ -187,7 +187,6 @@ class NetworkIndicator(Box):
|
||||
layer="overlay",
|
||||
title="modus",
|
||||
anchor="top right",
|
||||
margin="2px 10px 0px 0px",
|
||||
exclusivity="auto",
|
||||
keyboard_mode="on-demand",
|
||||
name="wifi-control-window",
|
||||
|
||||
Reference in new issue
Block a user