controlcenter: clip to all styledflickable

This commit is contained in:
ATMDA 2025-11-15 00:29:42 -05:00
parent 90e920bf2e
commit 20e07b2a13
12 changed files with 22 additions and 2 deletions

View file

@ -19,12 +19,14 @@ ClippingRectangle {
required property Session session
color: "transparent"
clip: true
ColumnLayout {
id: layout
spacing: 0
y: -root.session.activeIndex * root.height
clip: true
Pane {
index: 0

View file

@ -225,6 +225,7 @@ RowLayout {
anchors.fill: parent
flickableDirection: Flickable.VerticalFlick
contentHeight: sidebarLayout.implicitHeight + Appearance.padding.large * 2
clip: true
StyledScrollBar.vertical: StyledScrollBar {
flickable: sidebarFlickable
@ -965,6 +966,7 @@ RowLayout {
flickableDirection: Flickable.VerticalFlick
contentHeight: contentLayout.implicitHeight
clip: true
StyledScrollBar.vertical: StyledScrollBar {
flickable: parent

View file

@ -31,6 +31,7 @@ RowLayout {
anchors.rightMargin: Appearance.padding.large + Appearance.padding.normal / 2
flickableDirection: Flickable.VerticalFlick
contentHeight: leftContent.height
clip: true
ColumnLayout {
id: leftContent

View file

@ -50,6 +50,7 @@ RowLayout {
radius: rightBorder.innerRadius
color: "transparent"
clip: true
Loader {
id: loader
@ -59,6 +60,7 @@ RowLayout {
anchors.fill: parent
anchors.margins: Appearance.padding.large * 2
clip: true
asynchronous: true
sourceComponent: pane ? details : settings
@ -106,6 +108,7 @@ RowLayout {
StyledFlickable {
flickableDirection: Flickable.VerticalFlick
contentHeight: settingsInner.height
clip: true
Settings {
id: settingsInner

View file

@ -22,6 +22,7 @@ Item {
anchors.fill: parent
flickableDirection: Flickable.VerticalFlick
clip: true
contentHeight: layout.height
ColumnLayout {

View file

@ -34,6 +34,7 @@ Item {
anchors.fill: parent
flickableDirection: Flickable.VerticalFlick
clip: true
contentHeight: layout.height
ColumnLayout {

View file

@ -50,6 +50,7 @@ RowLayout {
radius: rightBorder.innerRadius
color: "transparent"
clip: true
Loader {
id: loader
@ -64,7 +65,7 @@ RowLayout {
scale: 1
transformOrigin: Item.Center
clip: false
clip: true
asynchronous: true
sourceComponent: pane ? details : settings
@ -120,6 +121,7 @@ RowLayout {
StyledFlickable {
flickableDirection: Flickable.VerticalFlick
contentHeight: settingsInner.height
clip: true
EthernetSettings {
id: settingsInner

View file

@ -421,6 +421,7 @@ RowLayout {
anchors.fill: parent
flickableDirection: Flickable.VerticalFlick
contentHeight: debugLayout.implicitHeight
clip: true
StyledScrollBar.vertical: StyledScrollBar {
flickable: parent

View file

@ -36,6 +36,7 @@ RowLayout {
anchors.rightMargin: Appearance.padding.large + Appearance.padding.normal / 2
flickableDirection: Flickable.VerticalFlick
contentHeight: leftContent.height
clip: true
ColumnLayout {
id: leftContent
@ -399,6 +400,7 @@ RowLayout {
radius: rightBorder.innerRadius
color: "transparent"
clip: true
// Right pane - networking details/settings
Loader {
@ -416,7 +418,7 @@ RowLayout {
scale: 1
transformOrigin: Item.Center
clip: false
clip: true
asynchronous: true
sourceComponent: pane ? (ethernetPane ? ethernetDetails : wirelessDetails) : settings
@ -472,6 +474,7 @@ RowLayout {
StyledFlickable {
flickableDirection: Flickable.VerticalFlick
contentHeight: settingsInner.height
clip: true
NetworkSettings {
id: settingsInner

View file

@ -102,6 +102,7 @@ Item {
anchors.fill: parent
flickableDirection: Flickable.VerticalFlick
clip: true
contentHeight: layout.height
ColumnLayout {

View file

@ -120,6 +120,7 @@ RowLayout {
StyledFlickable {
flickableDirection: Flickable.VerticalFlick
contentHeight: settingsInner.height
clip: true
WirelessSettings {
id: settingsInner

View file

@ -209,6 +209,7 @@ RowLayout {
anchors.fill: parent
flickableDirection: Flickable.VerticalFlick
contentHeight: sidebarLayout.implicitHeight + Appearance.padding.large * 2
clip: true
StyledScrollBar.vertical: StyledScrollBar {
flickable: sidebarFlickable
@ -608,6 +609,7 @@ RowLayout {
flickableDirection: Flickable.VerticalFlick
contentHeight: contentLayout.implicitHeight
clip: true
StyledScrollBar.vertical: StyledScrollBar {
flickable: parent