summaryrefslogtreecommitdiff
path: root/modules/controlcenter/network
diff options
context:
space:
mode:
authorATMDA <atdma2600@gmail.com>2025-11-17 08:09:32 -0500
committerATMDA <atdma2600@gmail.com>2025-11-17 08:09:32 -0500
commitc2c04b86379c222b5d0e0f123b12713e7a82366e (patch)
tree3c95c004fa6eebf0152512195521223e47bb132f /modules/controlcenter/network
parentcontrolcenter: lazyload cleanup confirmed (diff)
downloadcaelestia-shell-c2c04b86379c222b5d0e0f123b12713e7a82366e.tar.gz
caelestia-shell-c2c04b86379c222b5d0e0f123b12713e7a82366e.tar.bz2
caelestia-shell-c2c04b86379c222b5d0e0f123b12713e7a82366e.zip
controlcenter: corrections on scrolling in panes and missing scrollbars
Diffstat (limited to 'modules/controlcenter/network')
-rw-r--r--modules/controlcenter/network/EthernetDetails.qml4
-rw-r--r--modules/controlcenter/network/NetworkingPane.qml18
-rw-r--r--modules/controlcenter/network/WirelessDetails.qml4
3 files changed, 24 insertions, 2 deletions
diff --git a/modules/controlcenter/network/EthernetDetails.qml b/modules/controlcenter/network/EthernetDetails.qml
index c16eb9d..7c2534a 100644
--- a/modules/controlcenter/network/EthernetDetails.qml
+++ b/modules/controlcenter/network/EthernetDetails.qml
@@ -16,7 +16,8 @@ Item {
required property Session session
readonly property var device: session.ethernet.active
- anchors.fill: parent
+ implicitWidth: layout.implicitWidth
+ implicitHeight: layout.implicitHeight
Component.onCompleted: {
if (device && device.interface) {
@@ -37,6 +38,7 @@ Item {
anchors.left: parent.left
anchors.right: parent.right
+ anchors.top: parent.top
spacing: Appearance.spacing.normal
ConnectionHeader {
diff --git a/modules/controlcenter/network/NetworkingPane.qml b/modules/controlcenter/network/NetworkingPane.qml
index 680e495..d00916c 100644
--- a/modules/controlcenter/network/NetworkingPane.qml
+++ b/modules/controlcenter/network/NetworkingPane.qml
@@ -518,14 +518,20 @@ Item {
id: settings
StyledFlickable {
+ id: settingsFlickable
flickableDirection: Flickable.VerticalFlick
contentHeight: settingsInner.height
+ StyledScrollBar.vertical: StyledScrollBar {
+ flickable: settingsFlickable
+ }
+
NetworkSettings {
id: settingsInner
anchors.left: parent.left
anchors.right: parent.right
+ anchors.top: parent.top
session: root.session
}
}
@@ -535,14 +541,20 @@ Item {
id: ethernetDetails
StyledFlickable {
+ id: ethernetFlickable
flickableDirection: Flickable.VerticalFlick
contentHeight: ethernetDetailsInner.height
+ StyledScrollBar.vertical: StyledScrollBar {
+ flickable: ethernetFlickable
+ }
+
EthernetDetails {
id: ethernetDetailsInner
anchors.left: parent.left
anchors.right: parent.right
+ anchors.top: parent.top
session: root.session
}
}
@@ -552,14 +564,20 @@ Item {
id: wirelessDetails
StyledFlickable {
+ id: wirelessFlickable
flickableDirection: Flickable.VerticalFlick
contentHeight: wirelessDetailsInner.height
+ StyledScrollBar.vertical: StyledScrollBar {
+ flickable: wirelessFlickable
+ }
+
WirelessDetails {
id: wirelessDetailsInner
anchors.left: parent.left
anchors.right: parent.right
+ anchors.top: parent.top
session: root.session
}
}
diff --git a/modules/controlcenter/network/WirelessDetails.qml b/modules/controlcenter/network/WirelessDetails.qml
index 6b7cb15..09abff3 100644
--- a/modules/controlcenter/network/WirelessDetails.qml
+++ b/modules/controlcenter/network/WirelessDetails.qml
@@ -17,7 +17,8 @@ Item {
required property Session session
readonly property var network: session.network.active
- anchors.fill: parent
+ implicitWidth: layout.implicitWidth
+ implicitHeight: layout.implicitHeight
Component.onCompleted: {
updateDeviceDetails();
@@ -105,6 +106,7 @@ Item {
anchors.left: parent.left
anchors.right: parent.right
+ anchors.top: parent.top
spacing: Appearance.spacing.normal
ConnectionHeader {