diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-07-25 23:54:16 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-28 07:31:11 -0700 |
commit | f7095aa89e9d27e006a6d75564ba5b9fa63554a5 (patch) | |
tree | 3ec0a32ad30dbeb4b05d287522191bfbafc73494 /mobile-widgets/qml/MapWidgetContextMenu.qml | |
parent | f2a8bab01e57ac28c01e71e4ee6affceacce96c1 (diff) | |
download | subsurface-f7095aa89e9d27e006a6d75564ba5b9fa63554a5.tar.gz |
mapwidgetcontextmenu: slight increase of element size
Increase the font and element height a little to make it
easier to click.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'mobile-widgets/qml/MapWidgetContextMenu.qml')
-rw-r--r-- | mobile-widgets/qml/MapWidgetContextMenu.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mobile-widgets/qml/MapWidgetContextMenu.qml b/mobile-widgets/qml/MapWidgetContextMenu.qml index f6edc86ec..ca7da4057 100644 --- a/mobile-widgets/qml/MapWidgetContextMenu.qml +++ b/mobile-widgets/qml/MapWidgetContextMenu.qml @@ -16,7 +16,7 @@ Item { { idx: actions.COPY_LOCATION_SEXAGESIMAL, itemText: qsTr("Copy location to clipboard (sexagesimal)") } ] readonly property real itemTextPadding: 10.0 - readonly property real itemHeight: 30.0 + readonly property real itemHeight: 34.0 readonly property int itemAnimationDuration: 100 readonly property color colorItemBackground: "#dedede" readonly property color colorItemBackgroundSelected: "grey" @@ -71,6 +71,7 @@ Item { height: itemHeight verticalAlignment: Text.AlignVCenter text: model.itemText + font.pointSize: 10.0 color: model.idx === listModel.selectedIdx ? colorItemTextSelected : colorItemText onWidthChanged: { if (width + itemTextPadding * 2.0 > maxItemWidth) |