Skip to content

Commit

Permalink
[QgsQuick] External resource widget changes
Browse files Browse the repository at this point in the history
Enlarge buttons and modified text for buttons
  • Loading branch information
vsklencar authored and wonder-sk committed Apr 24, 2019
1 parent 1b428a5 commit 8879744
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/quickgui/plugin/editor/qgsquickexternalresource.qml
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,10 @@ Item {
fontColor: customStyle.fields.fontColor
fontPixelSize: customStyle.fields.fontPixelSize
iconSource: fieldItem.cameraIcon
labelText: qsTr("Take a Photo")
labelText: qsTr("Take a photo")

visible: !readOnly && fieldItem.state !== " valid"
height: buttonsContainer.itemHeight
height: buttonsContainer.itemHeight * 1.5
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter

MouseArea {
Expand All @@ -201,10 +201,10 @@ Item {
fontColor: customStyle.fields.fontColor
fontPixelSize: customStyle.fields.fontPixelSize
iconSource: fieldItem.galleryIcon
labelText: qsTr("Add From a Gallery")
labelText: qsTr("Add from gallery")

visible: !readOnly && fieldItem.state !== " valid"
height: buttonsContainer.itemHeight
height: buttonsContainer.itemHeight * 1.5
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter

MouseArea {
Expand Down

0 comments on commit 8879744

Please sign in to comment.