From 2e97cef7a88b84b143956310bda30974a10553a0 Mon Sep 17 00:00:00 2001 From: Automeris naranja Date: Sun, 3 Dec 2023 19:15:47 -0300 Subject: [PATCH] wwan: Improve status pages design - Use AdwStatusPage - Use .pill and .suggested-action style classes in the button from airplane mode status page And use valign=center, otherwise AdwStatusPage won't be vertically centralized. --- panels/wwan/cc-wwan-panel.ui | 79 +++++++----------------------------- 1 file changed, 15 insertions(+), 64 deletions(-) diff --git a/panels/wwan/cc-wwan-panel.ui b/panels/wwan/cc-wwan-panel.ui index 247cb804d1..737084c89f 100644 --- a/panels/wwan/cc-wwan-panel.ui +++ b/panels/wwan/cc-wwan-panel.ui @@ -33,6 +33,7 @@ True vertical + center False @@ -44,37 +45,10 @@ no-wwan-devices - - True - True - center - vertical - - - network-cellular-offline-symbolic - 192 - 18 - - - - - - True - No WWAN Adapter Found - - - - - - - - - True - Make sure you have a Wireless Wan/Cellular device - - + + network-cellular-offline-symbolic + No WWAN Adapter Found + Make sure you have a Wireless Wan/Cellular device @@ -85,46 +59,23 @@ airplane-mode - - True - True - vertical - center - - - airplane-mode-symbolic - 192 - 18 - - - - - - True - Airplane Mode On - - - - - - - - - True - Wireless Wan is disabled when airplane mode is on - - - + + airplane-mode-symbolic + Airplane Mode On + Wireless Wan is disabled when airplane mode is on + center True 24 _Turn off Airplane Mode + - + -- GitLab