mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
f2a8bab01e
commit
f7095aa89e
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue