Move composer alias "?" icon to be inside field

Be more consistent with the user ID field and its copy button.
This commit is contained in:
miruka
2020-11-05 22:00:08 -04:00
parent 28b25a53ea
commit 0eb57c5986
5 changed files with 48 additions and 52 deletions

View File

@@ -0,0 +1,19 @@
// Copyright Mirage authors & contributors <https://github.com/mirukana/mirage>
// SPDX-License-Identifier: LGPL-3.0-or-later
import QtQuick 2.12
import QtQuick.Layouts 1.12
import ".."
HButton {
property string helpText
icon.name: "field-help"
iconItem.small: true
toolTip.text: helpText
onClicked: toolTip.instantShow()
onActiveFocusChanged: if (! activeFocus && toolTip.visible) toolTip.hide()
Layout.fillHeight: true
}