controlcenter: network pane added scrollbar
This commit is contained in:
parent
20e07b2a13
commit
e339439ee8
3 changed files with 24 additions and 0 deletions
|
|
@ -31,12 +31,18 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
StyledFlickable {
|
StyledFlickable {
|
||||||
|
id: flickable
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
flickableDirection: Flickable.VerticalFlick
|
flickableDirection: Flickable.VerticalFlick
|
||||||
clip: true
|
clip: true
|
||||||
contentHeight: layout.height
|
contentHeight: layout.height
|
||||||
|
|
||||||
|
StyledScrollBar.vertical: StyledScrollBar {
|
||||||
|
flickable: flickable
|
||||||
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: layout
|
id: layout
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,8 @@ RowLayout {
|
||||||
|
|
||||||
// Left pane - networking list with collapsible sections
|
// Left pane - networking list with collapsible sections
|
||||||
StyledFlickable {
|
StyledFlickable {
|
||||||
|
id: leftFlickable
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: Appearance.padding.large + Appearance.padding.normal
|
anchors.margins: Appearance.padding.large + Appearance.padding.normal
|
||||||
anchors.leftMargin: Appearance.padding.large
|
anchors.leftMargin: Appearance.padding.large
|
||||||
|
|
@ -38,6 +40,10 @@ RowLayout {
|
||||||
contentHeight: leftContent.height
|
contentHeight: leftContent.height
|
||||||
clip: true
|
clip: true
|
||||||
|
|
||||||
|
StyledScrollBar.vertical: StyledScrollBar {
|
||||||
|
flickable: leftFlickable
|
||||||
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: leftContent
|
id: leftContent
|
||||||
|
|
||||||
|
|
@ -472,10 +478,16 @@ RowLayout {
|
||||||
id: settings
|
id: settings
|
||||||
|
|
||||||
StyledFlickable {
|
StyledFlickable {
|
||||||
|
id: settingsFlickable
|
||||||
|
|
||||||
flickableDirection: Flickable.VerticalFlick
|
flickableDirection: Flickable.VerticalFlick
|
||||||
contentHeight: settingsInner.height
|
contentHeight: settingsInner.height
|
||||||
clip: true
|
clip: true
|
||||||
|
|
||||||
|
StyledScrollBar.vertical: StyledScrollBar {
|
||||||
|
flickable: settingsFlickable
|
||||||
|
}
|
||||||
|
|
||||||
NetworkSettings {
|
NetworkSettings {
|
||||||
id: settingsInner
|
id: settingsInner
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -99,12 +99,18 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
StyledFlickable {
|
StyledFlickable {
|
||||||
|
id: flickable
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
flickableDirection: Flickable.VerticalFlick
|
flickableDirection: Flickable.VerticalFlick
|
||||||
clip: true
|
clip: true
|
||||||
contentHeight: layout.height
|
contentHeight: layout.height
|
||||||
|
|
||||||
|
StyledScrollBar.vertical: StyledScrollBar {
|
||||||
|
flickable: flickable
|
||||||
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: layout
|
id: layout
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue