Scroll and wage fix - Employee
This commit is contained in:
@@ -2,8 +2,12 @@ import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
import Js
|
||||
ColumnLayout {
|
||||
id: colPar
|
||||
|
||||
ScrollView
|
||||
{
|
||||
id: scroll
|
||||
width: parent.width
|
||||
height: parent.height
|
||||
|
||||
function checkFields() {
|
||||
if (!personalData.checkPersonalField())
|
||||
@@ -20,9 +24,13 @@ ColumnLayout {
|
||||
}
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
id: colPar
|
||||
|
||||
height: Screen.desktopAvailableHeight
|
||||
width: scroll.width
|
||||
Layout.fillHeight: true
|
||||
Layout.fillWidth: true
|
||||
anchors.fill: parent
|
||||
implicitWidth: parent.width
|
||||
|
||||
Component.onCompleted: {
|
||||
@@ -34,7 +42,7 @@ ColumnLayout {
|
||||
|
||||
Layout.alignment: Qt.AlignHCenter | Qt.AlignTop
|
||||
font.pixelSize: 35
|
||||
text: qsTr("Mitarbeiter / Bewerber hinzufügen")
|
||||
text: qsTr("Mitarbeiter hinzufügen")
|
||||
}
|
||||
RowLayout {
|
||||
Layout.fillWidth: true
|
||||
@@ -98,4 +106,5 @@ ColumnLayout {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -292,6 +292,10 @@ GridLayout {
|
||||
Layout.fillWidth: true
|
||||
placeholderTextColor: "red"
|
||||
|
||||
validator: RegularExpressionValidator {
|
||||
regularExpression: /([0-9]{1,3})/
|
||||
}
|
||||
|
||||
onTextChanged: checkFields()
|
||||
}
|
||||
Label {
|
||||
|
||||
@@ -27,7 +27,7 @@ ColumnLayout {
|
||||
ListElement {
|
||||
name: "Mitarbeiter"
|
||||
selected: false
|
||||
text: qsTr("Kunde")
|
||||
text: qsTr("Mitarbeiter")
|
||||
}
|
||||
ListElement {
|
||||
name: "Erledigt"
|
||||
|
||||
Reference in New Issue
Block a user