File tree 3 files changed +34
-0
lines changed
3 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -385,6 +385,7 @@ QML_RES_QML = \
385
385
qml/controls/Icon.qml \
386
386
qml/controls/InformationPage.qml \
387
387
qml/controls/IPAddressValueInput.qml \
388
+ qml/controls/KeyValueRow.qml \
388
389
qml/controls/NavButton.qml \
389
390
qml/controls/PageIndicator.qml \
390
391
qml/controls/NavigationBar.qml \
Original file line number Diff line number Diff line change 29
29
<file>controls/Icon.qml</file>
30
30
<file>controls/InformationPage.qml</file>
31
31
<file>controls/IPAddressValueInput.qml</file>
32
+ <file>controls/KeyValueRow.qml</file>
32
33
<file>controls/NavButton.qml</file>
33
34
<file>controls/PageIndicator.qml</file>
34
35
<file>controls/NavigationBar.qml</file>
Original file line number Diff line number Diff line change
1
+ // Copyright (c) 2024 The Bitcoin Core developers
2
+ // Distributed under the MIT software license, see the accompanying
3
+ // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
+
5
+ import QtQuick 2.15
6
+ import QtQuick.Controls 2.15
7
+ import QtQuick.Layouts 1.15
8
+ import org.bitcoincore.qt 1.0
9
+
10
+ RowLayout {
11
+ id: root
12
+ property alias key: keyField .contentItem
13
+ property alias value: valueField .contentItem
14
+ width: parent .width
15
+
16
+ spacing: 10
17
+ Pane {
18
+ id: keyField
19
+ implicitWidth: 125
20
+ Layout .alignment : Qt .AlignLeft
21
+ background: null
22
+ padding: 0
23
+ }
24
+ Pane {
25
+ id: valueField
26
+ Layout .fillWidth : true
27
+ Layout .alignment : Qt .AlignLeft
28
+ implicitHeight: Math .max (valueField .contentHeight , 21 )
29
+ padding: 0
30
+ background: null
31
+ }
32
+ }
You can’t perform that action at this time.
0 commit comments