Commit 7b1ea757 authored by Patrick José Pereira's avatar Patrick José Pereira

Move log category to same flickable

Signed-off-by: 's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 131a1d23
......@@ -29,45 +29,44 @@ Item {
Component {
id: filtersDialogComponent
QGCViewDialog {
ColumnLayout {
QGCFlickable {
anchors.fill: parent
RowLayout {
spacing: ScreenTools.defaultFontPixelHeight / 2
Layout.alignment: Qt.AlignVCenter
Layout.fillHeight: true
Layout.fillWidth: true
QGCLabel {
text: qsTr("Search:")
}
contentHeight: categoryColumn.height
clip: true
QGCTextField {
id: searchText
text: ""
ColumnLayout {
anchors.fill: parent
RowLayout {
spacing: ScreenTools.defaultFontPixelHeight / 2
Layout.alignment: Qt.AlignVCenter
Layout.fillHeight: true
Layout.fillWidth: true
enabled: true
}
QGCButton {
text: qsTr("Clear")
onClicked: searchText.text = ""
}
}
QGCLabel {
text: qsTr("Search:")
}
Row {
spacing: ScreenTools.defaultFontPixelHeight / 2
QGCButton {
text: qsTr("Clear All")
onClicked: categoryRepeater.setAllLogs(false)
}
}
QGCTextField {
id: searchText
text: ""
Layout.fillWidth: true
enabled: true
}
QGCFlickable {
Layout.fillHeight: true
Layout.fillWidth: true
QGCButton {
text: qsTr("Clear")
onClicked: searchText.text = ""
}
}
contentHeight: categoryColumn.height
clip: true
Row {
spacing: ScreenTools.defaultFontPixelHeight / 2
QGCButton {
text: qsTr("Clear All")
onClicked: categoryRepeater.setAllLogs(false)
}
}
Column {
id: categoryColumn
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment