Skip to content

Commit 09aa701

Browse files
committed
qml: introduce Separator component
Represents the 1px gray line that separates settings from one another
1 parent 0229f6e commit 09aa701

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

src/Makefile.qt.include

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ QML_RES_QML = \
336336
qml/components/DeveloperOptions.qml \
337337
qml/components/PeersIndicator.qml \
338338
qml/components/NetworkIndicator.qml \
339+
qml/components/Separator.qml \
339340
qml/components/StorageLocations.qml \
340341
qml/components/StorageOptions.qml \
341342
qml/components/StorageSettings.qml \

src/qml/bitcoin_qml.qrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<file>components/DeveloperOptions.qml</file>
1111
<file>components/NetworkIndicator.qml</file>
1212
<file>components/StorageLocations.qml</file>
13+
<file>components/Separator.qml</file>
1314
<file>components/StorageOptions.qml</file>
1415
<file>components/StorageSettings.qml</file>
1516
<file>controls/ContinueButton.qml</file>

src/qml/components/Separator.qml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Copyright (c) 2023 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 "../controls"
8+
9+
Rectangle {
10+
height: 1
11+
color: Theme.color.neutral5
12+
}

0 commit comments

Comments
 (0)