Added scroll bar for DropDownType
This commit is contained in:
parent
c7acd63ea7
commit
68b27451f2
1 changed files with 79 additions and 64 deletions
|
@ -19,7 +19,6 @@ Item {
|
|||
|
||||
property alias menuModel: menuContent.model
|
||||
|
||||
width: buttonContent.implicitWidth
|
||||
height: buttonContent.implicitHeight
|
||||
|
||||
Rectangle {
|
||||
|
@ -136,24 +135,34 @@ Item {
|
|||
color: Qt.rgba(14/255, 14/255, 17/255, 0.8)
|
||||
}
|
||||
|
||||
Column {
|
||||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.topMargin: 16
|
||||
|
||||
spacing: 16
|
||||
|
||||
Header2TextType {
|
||||
id: header
|
||||
width: parent.width
|
||||
|
||||
text: "Данные для подключения"
|
||||
wrapMode: Text.WordWrap
|
||||
|
||||
leftPadding: 16
|
||||
rightPadding: 16
|
||||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.topMargin: 16
|
||||
anchors.leftMargin: 16
|
||||
anchors.rightMargin: 16
|
||||
}
|
||||
|
||||
FlickableType {
|
||||
anchors.top: header.bottom
|
||||
anchors.topMargin: 16
|
||||
contentHeight: col.implicitHeight
|
||||
|
||||
Column {
|
||||
id: col
|
||||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
|
||||
spacing: 16
|
||||
|
||||
ButtonGroup {
|
||||
id: radioButtonGroup
|
||||
}
|
||||
|
@ -221,6 +230,12 @@ Item {
|
|||
Layout.rightMargin: 8
|
||||
}
|
||||
}
|
||||
|
||||
onClicked: {
|
||||
root.text = modelData
|
||||
menu.visible = false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue