summaryrefslogtreecommitdiff
path: root/components/ListWithIconForm.ui.qml
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-01-09 22:07:15 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-01-09 22:07:15 +0800
commit047d16d8ab5115a2c836c5f4dce5778f2a5a0162 (patch)
tree011ee246e359e3040a42154b6f1c3400068d67dd /components/ListWithIconForm.ui.qml
parentfabfc8193acac84883dda0874abd777e888b112e (diff)
Remove anchor warnings & fixHEADmain
Diffstat (limited to 'components/ListWithIconForm.ui.qml')
-rw-r--r--components/ListWithIconForm.ui.qml66
1 files changed, 32 insertions, 34 deletions
diff --git a/components/ListWithIconForm.ui.qml b/components/ListWithIconForm.ui.qml
index 5e03180..450a679 100644
--- a/components/ListWithIconForm.ui.qml
+++ b/components/ListWithIconForm.ui.qml
@@ -5,41 +5,39 @@ import QtQuick.Layouts 1.15
Item {
property alias button: listButton
- width: 360
- height: 48
- Layout.minimumWidth: 360
- Layout.minimumHeight: 48
+ width: 360
+ height: 48
+ Layout.minimumWidth: 360
+ Layout.minimumHeight: 48
- Row {
- id: row
- anchors.fill: parent
- spacing: 8
- padding: 0
+ Item {
+ id: row
+ anchors.fill: parent
- Label {
- id: listLabel
- text: qsTr("List label with icon")
- anchors.verticalCenter: parent.verticalCenter
- anchors.left: parent.left
- font.letterSpacing: 0.15
- font.weight: Font.Medium
- anchors.leftMargin: 16
- font.pointSize: 16
- }
+ Label {
+ id: listLabel
+ text: qsTr("List label with icon")
+ anchors.verticalCenter: parent.verticalCenter
+ anchors.left: parent.left
+ font.letterSpacing: 0.15
+ font.weight: Font.Medium
+ anchors.leftMargin: 16
+ font.pointSize: 16
+ }
- ToolButton {
- id: listButton
- width: 24
- height: 24
- text: qsTr("List Tool Button")
- anchors.verticalCenter: parent.verticalCenter
- anchors.right: parent.right
- padding: 0
- display: AbstractButton.IconOnly
- highlighted: false
- anchors.rightMargin: 16
- icon.name: "addIcon"
- icon.source: "../icons/add-24px.svg"
- }
- }
+ ToolButton {
+ id: listButton
+ width: 24
+ height: 24
+ text: qsTr("List Tool Button")
+ anchors.verticalCenter: parent.verticalCenter
+ anchors.right: parent.right
+ padding: 0
+ display: AbstractButton.IconOnly
+ highlighted: false
+ anchors.rightMargin: 16
+ icon.name: "addIcon"
+ icon.source: "../icons/add-24px.svg"
+ }
+ }
}