Add fields in ApplicantForm
This commit is contained in:
@@ -33,36 +33,16 @@ T.ComboBox {
|
||||
border.color: Colors.interactive
|
||||
border.width: 1
|
||||
color: Colors.mantle
|
||||
// height: parent.height
|
||||
radius: Dimensions.radius
|
||||
width: parent.width
|
||||
}
|
||||
// delegate: MenuItem {
|
||||
// id: menuItem
|
||||
|
||||
// required property int index
|
||||
// required property var model
|
||||
|
||||
// highlighted: control.highlightedIndex === index
|
||||
// hoverEnabled: control.hoverEnabled
|
||||
// text: model[control.textRole]
|
||||
// width: control.width
|
||||
|
||||
// background: Rectangle {
|
||||
// color: menuItem.down || menuItem.highlighted ? Colors.primary : "transparent"
|
||||
// height: menuItem.height
|
||||
// width: menuItem.width
|
||||
// }
|
||||
// }
|
||||
delegate: ItemDelegate {
|
||||
required property var model
|
||||
required property int index
|
||||
|
||||
width: ListView.view.width
|
||||
text: model[control.textRole]
|
||||
// palette.text: control.palette.text
|
||||
// palette.highlightedText: control.palette.highlightedText
|
||||
// font.weight: control.currentIndex === index ? Font.DemiBold : Font.Normal
|
||||
highlighted: control.highlightedIndex === index
|
||||
hoverEnabled: control.hoverEnabled
|
||||
}
|
||||
@@ -125,8 +105,4 @@ T.ComboBox {
|
||||
}
|
||||
}
|
||||
}
|
||||
Component.onCompleted:
|
||||
{
|
||||
console.log(control.implicitContentHeight)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user