controlcenter: clip to all styledflickable
This commit is contained in:
parent
90e920bf2e
commit
20e07b2a13
12 changed files with 22 additions and 2 deletions
|
|
@ -19,12 +19,14 @@ ClippingRectangle {
|
||||||
required property Session session
|
required property Session session
|
||||||
|
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
clip: true
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: layout
|
id: layout
|
||||||
|
|
||||||
spacing: 0
|
spacing: 0
|
||||||
y: -root.session.activeIndex * root.height
|
y: -root.session.activeIndex * root.height
|
||||||
|
clip: true
|
||||||
|
|
||||||
Pane {
|
Pane {
|
||||||
index: 0
|
index: 0
|
||||||
|
|
|
||||||
|
|
@ -225,6 +225,7 @@ RowLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
flickableDirection: Flickable.VerticalFlick
|
flickableDirection: Flickable.VerticalFlick
|
||||||
contentHeight: sidebarLayout.implicitHeight + Appearance.padding.large * 2
|
contentHeight: sidebarLayout.implicitHeight + Appearance.padding.large * 2
|
||||||
|
clip: true
|
||||||
|
|
||||||
StyledScrollBar.vertical: StyledScrollBar {
|
StyledScrollBar.vertical: StyledScrollBar {
|
||||||
flickable: sidebarFlickable
|
flickable: sidebarFlickable
|
||||||
|
|
@ -965,6 +966,7 @@ RowLayout {
|
||||||
|
|
||||||
flickableDirection: Flickable.VerticalFlick
|
flickableDirection: Flickable.VerticalFlick
|
||||||
contentHeight: contentLayout.implicitHeight
|
contentHeight: contentLayout.implicitHeight
|
||||||
|
clip: true
|
||||||
|
|
||||||
StyledScrollBar.vertical: StyledScrollBar {
|
StyledScrollBar.vertical: StyledScrollBar {
|
||||||
flickable: parent
|
flickable: parent
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@ RowLayout {
|
||||||
anchors.rightMargin: Appearance.padding.large + Appearance.padding.normal / 2
|
anchors.rightMargin: Appearance.padding.large + Appearance.padding.normal / 2
|
||||||
flickableDirection: Flickable.VerticalFlick
|
flickableDirection: Flickable.VerticalFlick
|
||||||
contentHeight: leftContent.height
|
contentHeight: leftContent.height
|
||||||
|
clip: true
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: leftContent
|
id: leftContent
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,7 @@ RowLayout {
|
||||||
|
|
||||||
radius: rightBorder.innerRadius
|
radius: rightBorder.innerRadius
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
clip: true
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
id: loader
|
id: loader
|
||||||
|
|
@ -59,6 +60,7 @@ RowLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: Appearance.padding.large * 2
|
anchors.margins: Appearance.padding.large * 2
|
||||||
|
|
||||||
|
clip: true
|
||||||
asynchronous: true
|
asynchronous: true
|
||||||
sourceComponent: pane ? details : settings
|
sourceComponent: pane ? details : settings
|
||||||
|
|
||||||
|
|
@ -106,6 +108,7 @@ RowLayout {
|
||||||
StyledFlickable {
|
StyledFlickable {
|
||||||
flickableDirection: Flickable.VerticalFlick
|
flickableDirection: Flickable.VerticalFlick
|
||||||
contentHeight: settingsInner.height
|
contentHeight: settingsInner.height
|
||||||
|
clip: true
|
||||||
|
|
||||||
Settings {
|
Settings {
|
||||||
id: settingsInner
|
id: settingsInner
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ Item {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
flickableDirection: Flickable.VerticalFlick
|
flickableDirection: Flickable.VerticalFlick
|
||||||
|
clip: true
|
||||||
contentHeight: layout.height
|
contentHeight: layout.height
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@ Item {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
flickableDirection: Flickable.VerticalFlick
|
flickableDirection: Flickable.VerticalFlick
|
||||||
|
clip: true
|
||||||
contentHeight: layout.height
|
contentHeight: layout.height
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,7 @@ RowLayout {
|
||||||
|
|
||||||
radius: rightBorder.innerRadius
|
radius: rightBorder.innerRadius
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
clip: true
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
id: loader
|
id: loader
|
||||||
|
|
@ -64,7 +65,7 @@ RowLayout {
|
||||||
scale: 1
|
scale: 1
|
||||||
transformOrigin: Item.Center
|
transformOrigin: Item.Center
|
||||||
|
|
||||||
clip: false
|
clip: true
|
||||||
asynchronous: true
|
asynchronous: true
|
||||||
sourceComponent: pane ? details : settings
|
sourceComponent: pane ? details : settings
|
||||||
|
|
||||||
|
|
@ -120,6 +121,7 @@ RowLayout {
|
||||||
StyledFlickable {
|
StyledFlickable {
|
||||||
flickableDirection: Flickable.VerticalFlick
|
flickableDirection: Flickable.VerticalFlick
|
||||||
contentHeight: settingsInner.height
|
contentHeight: settingsInner.height
|
||||||
|
clip: true
|
||||||
|
|
||||||
EthernetSettings {
|
EthernetSettings {
|
||||||
id: settingsInner
|
id: settingsInner
|
||||||
|
|
|
||||||
|
|
@ -421,6 +421,7 @@ RowLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
flickableDirection: Flickable.VerticalFlick
|
flickableDirection: Flickable.VerticalFlick
|
||||||
contentHeight: debugLayout.implicitHeight
|
contentHeight: debugLayout.implicitHeight
|
||||||
|
clip: true
|
||||||
|
|
||||||
StyledScrollBar.vertical: StyledScrollBar {
|
StyledScrollBar.vertical: StyledScrollBar {
|
||||||
flickable: parent
|
flickable: parent
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@ RowLayout {
|
||||||
anchors.rightMargin: Appearance.padding.large + Appearance.padding.normal / 2
|
anchors.rightMargin: Appearance.padding.large + Appearance.padding.normal / 2
|
||||||
flickableDirection: Flickable.VerticalFlick
|
flickableDirection: Flickable.VerticalFlick
|
||||||
contentHeight: leftContent.height
|
contentHeight: leftContent.height
|
||||||
|
clip: true
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: leftContent
|
id: leftContent
|
||||||
|
|
@ -399,6 +400,7 @@ RowLayout {
|
||||||
|
|
||||||
radius: rightBorder.innerRadius
|
radius: rightBorder.innerRadius
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
clip: true
|
||||||
|
|
||||||
// Right pane - networking details/settings
|
// Right pane - networking details/settings
|
||||||
Loader {
|
Loader {
|
||||||
|
|
@ -416,7 +418,7 @@ RowLayout {
|
||||||
scale: 1
|
scale: 1
|
||||||
transformOrigin: Item.Center
|
transformOrigin: Item.Center
|
||||||
|
|
||||||
clip: false
|
clip: true
|
||||||
asynchronous: true
|
asynchronous: true
|
||||||
sourceComponent: pane ? (ethernetPane ? ethernetDetails : wirelessDetails) : settings
|
sourceComponent: pane ? (ethernetPane ? ethernetDetails : wirelessDetails) : settings
|
||||||
|
|
||||||
|
|
@ -472,6 +474,7 @@ RowLayout {
|
||||||
StyledFlickable {
|
StyledFlickable {
|
||||||
flickableDirection: Flickable.VerticalFlick
|
flickableDirection: Flickable.VerticalFlick
|
||||||
contentHeight: settingsInner.height
|
contentHeight: settingsInner.height
|
||||||
|
clip: true
|
||||||
|
|
||||||
NetworkSettings {
|
NetworkSettings {
|
||||||
id: settingsInner
|
id: settingsInner
|
||||||
|
|
|
||||||
|
|
@ -102,6 +102,7 @@ Item {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
flickableDirection: Flickable.VerticalFlick
|
flickableDirection: Flickable.VerticalFlick
|
||||||
|
clip: true
|
||||||
contentHeight: layout.height
|
contentHeight: layout.height
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
|
|
|
||||||
|
|
@ -120,6 +120,7 @@ RowLayout {
|
||||||
StyledFlickable {
|
StyledFlickable {
|
||||||
flickableDirection: Flickable.VerticalFlick
|
flickableDirection: Flickable.VerticalFlick
|
||||||
contentHeight: settingsInner.height
|
contentHeight: settingsInner.height
|
||||||
|
clip: true
|
||||||
|
|
||||||
WirelessSettings {
|
WirelessSettings {
|
||||||
id: settingsInner
|
id: settingsInner
|
||||||
|
|
|
||||||
|
|
@ -209,6 +209,7 @@ RowLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
flickableDirection: Flickable.VerticalFlick
|
flickableDirection: Flickable.VerticalFlick
|
||||||
contentHeight: sidebarLayout.implicitHeight + Appearance.padding.large * 2
|
contentHeight: sidebarLayout.implicitHeight + Appearance.padding.large * 2
|
||||||
|
clip: true
|
||||||
|
|
||||||
StyledScrollBar.vertical: StyledScrollBar {
|
StyledScrollBar.vertical: StyledScrollBar {
|
||||||
flickable: sidebarFlickable
|
flickable: sidebarFlickable
|
||||||
|
|
@ -608,6 +609,7 @@ RowLayout {
|
||||||
|
|
||||||
flickableDirection: Flickable.VerticalFlick
|
flickableDirection: Flickable.VerticalFlick
|
||||||
contentHeight: contentLayout.implicitHeight
|
contentHeight: contentLayout.implicitHeight
|
||||||
|
clip: true
|
||||||
|
|
||||||
StyledScrollBar.vertical: StyledScrollBar {
|
StyledScrollBar.vertical: StyledScrollBar {
|
||||||
flickable: parent
|
flickable: parent
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue