Add InviteOffer component
This commit is contained in:
11
harmonyqml/components/base/HButton.qml
Normal file
11
harmonyqml/components/base/HButton.qml
Normal file
@@ -0,0 +1,11 @@
|
||||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.4
|
||||
|
||||
Button {
|
||||
property string iconName: ""
|
||||
|
||||
id: button
|
||||
display: Button.TextBesideIcon
|
||||
icon.source: "../../icons/" + iconName + ".svg"
|
||||
}
|
11
harmonyqml/components/base/HRowLayout.qml
Normal file
11
harmonyqml/components/base/HRowLayout.qml
Normal file
@@ -0,0 +1,11 @@
|
||||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.4
|
||||
|
||||
RowLayout {
|
||||
id: rowLayout
|
||||
spacing: 0
|
||||
|
||||
property int totalSpacing:
|
||||
spacing * Math.max(0, (rowLayout.visibleChildren.length - 1))
|
||||
}
|
Reference in New Issue
Block a user