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 {
|
||||
id: flickable
|
||||
|
||||
anchors.fill: parent
|
||||
|
||||
flickableDirection: Flickable.VerticalFlick
|
||||
clip: true
|
||||
contentHeight: layout.height
|
||||
|
||||
StyledScrollBar.vertical: StyledScrollBar {
|
||||
flickable: flickable
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
id: layout
|
||||
|
||||
|
|
|
|||
|
|
@ -30,6 +30,8 @@ RowLayout {
|
|||
|
||||
// Left pane - networking list with collapsible sections
|
||||
StyledFlickable {
|
||||
id: leftFlickable
|
||||
|
||||
anchors.fill: parent
|
||||
anchors.margins: Appearance.padding.large + Appearance.padding.normal
|
||||
anchors.leftMargin: Appearance.padding.large
|
||||
|
|
@ -38,6 +40,10 @@ RowLayout {
|
|||
contentHeight: leftContent.height
|
||||
clip: true
|
||||
|
||||
StyledScrollBar.vertical: StyledScrollBar {
|
||||
flickable: leftFlickable
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
id: leftContent
|
||||
|
||||
|
|
@ -472,10 +478,16 @@ RowLayout {
|
|||
id: settings
|
||||
|
||||
StyledFlickable {
|
||||
id: settingsFlickable
|
||||
|
||||
flickableDirection: Flickable.VerticalFlick
|
||||
contentHeight: settingsInner.height
|
||||
clip: true
|
||||
|
||||
StyledScrollBar.vertical: StyledScrollBar {
|
||||
flickable: settingsFlickable
|
||||
}
|
||||
|
||||
NetworkSettings {
|
||||
id: settingsInner
|
||||
|
||||
|
|
|
|||
|
|
@ -99,12 +99,18 @@ Item {
|
|||
}
|
||||
|
||||
StyledFlickable {
|
||||
id: flickable
|
||||
|
||||
anchors.fill: parent
|
||||
|
||||
flickableDirection: Flickable.VerticalFlick
|
||||
clip: true
|
||||
contentHeight: layout.height
|
||||
|
||||
StyledScrollBar.vertical: StyledScrollBar {
|
||||
flickable: flickable
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
id: layout
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue