fix(ui/modules/Common/Form/ListForm): use correctly selectedByMouse

This commit is contained in:
Ronan Abhamon 2017-02-13 15:13:07 +01:00
parent 9ecfa0022b
commit dedf2087ce
4 changed files with 8 additions and 2 deletions

View file

@ -167,7 +167,6 @@ RowLayout {
inputMethodHints: listForm.inputMethodHints
isInvalid: $isInvalid
readOnly: listForm.readOnly
selectByMouse: true
text: $value
height: ListFormStyle.lineHeight

View file

@ -93,6 +93,7 @@ Item {
? TransparentTextInputStyle.text.color.focused
: TransparentTextInputStyle.text.color.normal
font.pointSize: TransparentTextInputStyle.text.fontSize
selectByMouse: true
verticalAlignment: TextInput.AlignVCenter
Keys.onEscapePressed: focus = false

View file

@ -2,12 +2,14 @@ import QtQuick 2.7
import Common 1.0
import App.Styles 1.0
// =============================================================================
TabContainer {
Column {
anchors.fill: parent
spacing: 10
spacing: SettingsWindowStyle.forms.spacing
Form {
title: qsTr('callsTitle')

View file

@ -7,6 +7,10 @@ QtObject {
property int height: 640
property int width: 1024
property QtObject forms: QtObject {
property int spacing: 10
}
property QtObject validButton: QtObject {
property int bottomMargin: 30
property int rightMargin: 30