From f7095aa89e9d27e006a6d75564ba5b9fa63554a5 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Tue, 25 Jul 2017 23:54:16 +0300 Subject: 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 --- mobile-widgets/qml/MapWidgetContextMenu.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mobile-widgets/qml/MapWidgetContextMenu.qml') 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) -- cgit v1.2.3-70-g09d2