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 { ...@@ -29,45 +29,44 @@ Item {
Component { Component {
id: filtersDialogComponent id: filtersDialogComponent
QGCViewDialog { QGCViewDialog {
ColumnLayout { QGCFlickable {
anchors.fill: parent anchors.fill: parent
RowLayout {
spacing: ScreenTools.defaultFontPixelHeight / 2
Layout.alignment: Qt.AlignVCenter
Layout.fillHeight: true
Layout.fillWidth: true
QGCLabel { contentHeight: categoryColumn.height
text: qsTr("Search:") clip: true
}
QGCTextField { ColumnLayout {
id: searchText anchors.fill: parent
text: "" RowLayout {
spacing: ScreenTools.defaultFontPixelHeight / 2
Layout.alignment: Qt.AlignVCenter
Layout.fillHeight: true
Layout.fillWidth: true Layout.fillWidth: true
enabled: true
}
QGCButton { QGCLabel {
text: qsTr("Clear") text: qsTr("Search:")
onClicked: searchText.text = "" }
}
}
Row { QGCTextField {
spacing: ScreenTools.defaultFontPixelHeight / 2 id: searchText
QGCButton { text: ""
text: qsTr("Clear All") Layout.fillWidth: true
onClicked: categoryRepeater.setAllLogs(false) enabled: true
} }
}
QGCFlickable { QGCButton {
Layout.fillHeight: true text: qsTr("Clear")
Layout.fillWidth: true onClicked: searchText.text = ""
}
}
contentHeight: categoryColumn.height Row {
clip: true spacing: ScreenTools.defaultFontPixelHeight / 2
QGCButton {
text: qsTr("Clear All")
onClicked: categoryRepeater.setAllLogs(false)
}
}
Column { Column {
id: categoryColumn 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