519d3610ef
By default now, fields have a transparent border if not focused and accent-color border if focused. Set `bordered: false` for no border at all. The register and forgot buttons on the SignIn screen are now disabled, since their functions aren't implemented yet.
23 lines
386 B
QML
23 lines
386 B
QML
// Copyright 2019 miruka
|
|
// This file is part of harmonyqml, licensed under LGPLv3.
|
|
|
|
import QtQuick 2.12
|
|
import QtQuick.Controls 2.12
|
|
|
|
Column {
|
|
spacing: theme.spacing / 2
|
|
|
|
property alias label: fieldLabel
|
|
property alias field: textField
|
|
|
|
HLabel {
|
|
id: fieldLabel
|
|
}
|
|
|
|
HTextField {
|
|
id: textField
|
|
radius: 2
|
|
width: parent.width
|
|
}
|
|
}
|