Fixing qml connection to save business with a new contact - some

database modifications
This commit is contained in:
2024-12-14 15:32:10 +01:00
parent 59e5fadd26
commit 559ad1b882
7 changed files with 54 additions and 22 deletions

View File

@@ -107,6 +107,10 @@ Item {
id: customerTable
Layout.fillHeight: true
Layout.fillWidth: true
ScrollBar.vertical: ScrollBar
{
policy: customerTable.contentHeight > customerTable.height ? ScrollBar.AlwaysOn : ScrollBar.AlwaysOff
}
columnSpacing: 1
rowSpacing: 2
model: business_model
@@ -162,7 +166,7 @@ Item {
Text
{
text: model.display
text: model.display == null? "": model.display
elide: Text.ElideRight
width: parent.width
height: parent.height
@@ -197,7 +201,7 @@ Item {
Item
{
Layout.fillHeight: true
//Layout.fillHeight: true
Layout.fillWidth: true
}
}