fixing textfields colors in videoEditor.qml
This commit is contained in:
parent
18a976f9bd
commit
cec9a93b72
1 changed files with 9 additions and 0 deletions
|
@ -111,6 +111,7 @@ Item {
|
||||||
source: videoPreview.isPlaying ? "media-pause" : "media-play"
|
source: videoPreview.isPlaying ? "media-pause" : "media-play"
|
||||||
Layout.preferredWidth: 25
|
Layout.preferredWidth: 25
|
||||||
Layout.preferredHeight: 25
|
Layout.preferredHeight: 25
|
||||||
|
color: Kirigami.Theme.textColor
|
||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
onPressed: videoPreview.playPause()
|
onPressed: videoPreview.playPause()
|
||||||
|
@ -205,9 +206,13 @@ Item {
|
||||||
text: "Start Time:"
|
text: "Start Time:"
|
||||||
}
|
}
|
||||||
Controls.TextField {
|
Controls.TextField {
|
||||||
|
id: startTimeField
|
||||||
Layout.preferredWidth: Kirigami.Units.gridUnit * 6
|
Layout.preferredWidth: Kirigami.Units.gridUnit * 6
|
||||||
text: new Date(videoLengthSlider.firstVisualPosition * 1000).toISOString().slice(11, 19);
|
text: new Date(videoLengthSlider.firstVisualPosition * 1000).toISOString().slice(11, 19);
|
||||||
horizontalAlignment: TextInput.AlignHCenter
|
horizontalAlignment: TextInput.AlignHCenter
|
||||||
|
background: Presenter.TextBackground {
|
||||||
|
control: startTimeField
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -217,9 +222,13 @@ Item {
|
||||||
text: "End Time:"
|
text: "End Time:"
|
||||||
}
|
}
|
||||||
Controls.TextField {
|
Controls.TextField {
|
||||||
|
id: endTimeField
|
||||||
Layout.preferredWidth: Kirigami.Units.gridUnit * 6
|
Layout.preferredWidth: Kirigami.Units.gridUnit * 6
|
||||||
text: new Date(videoLengthSlider.secondVisualPosition * 1000).toISOString().slice(11, 19);
|
text: new Date(videoLengthSlider.secondVisualPosition * 1000).toISOString().slice(11, 19);
|
||||||
horizontalAlignment: TextInput.AlignHCenter
|
horizontalAlignment: TextInput.AlignHCenter
|
||||||
|
background: Presenter.TextBackground {
|
||||||
|
control: endTimeField
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue