Standardize spacings
This commit is contained in:
@@ -5,7 +5,7 @@ import QtQuick 2.12
|
||||
import QtQuick.Controls 2.12
|
||||
|
||||
Column {
|
||||
spacing: 4
|
||||
spacing: theme.spacing / 2
|
||||
|
||||
property alias label: fieldLabel
|
||||
property alias field: textField
|
||||
|
@@ -17,11 +17,11 @@ HRowLayout {
|
||||
id: noticeLabel
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
wrapMode: Text.Wrap
|
||||
padding: 3
|
||||
leftPadding: 10
|
||||
rightPadding: 10
|
||||
padding: theme.spacing / 2
|
||||
leftPadding: theme.spacing
|
||||
rightPadding: leftPadding
|
||||
|
||||
Layout.margins: 10
|
||||
Layout.margins: theme.spacing
|
||||
Layout.alignment: Qt.AlignCenter
|
||||
Layout.maximumWidth:
|
||||
parent.width - Layout.leftMargin - Layout.rightMargin
|
||||
|
@@ -30,7 +30,7 @@ HBaseButton {
|
||||
|
||||
HRowLayout {
|
||||
id: contentLayout
|
||||
spacing: button.text && iconName ? 8 : 0
|
||||
spacing: button.text && iconName ? theme.spacing : 0
|
||||
Component.onCompleted: contentWidth = implicitWidth
|
||||
|
||||
HIcon {
|
||||
|
Reference in New Issue
Block a user