diff --git a/definitions/tooltip.py b/definitions/tooltip.py index ba134baa..58193d0a 100644 --- a/definitions/tooltip.py +++ b/definitions/tooltip.py @@ -32,7 +32,7 @@ def __init__(self): 'tooltip': tr('If you want to display geometry with the tooltip.') } self._layer_config['colorGeom'] = { - 'type': InputType.Color, + 'type': InputType.Text, 'header': tr('Color'), 'default': '', 'tooltip': tr('The color to use for displaying the geometry.') diff --git a/resources/ui/ui_form_tooltip.ui b/resources/ui/ui_form_tooltip.ui index a6f37a55..837080a1 100644 --- a/resources/ui/ui_form_tooltip.ui +++ b/resources/ui/ui_form_tooltip.ui @@ -61,14 +61,7 @@ - - - - 0 - 0 - - - + @@ -98,11 +91,6 @@ - - QgsColorButton - QToolButton -
qgis.gui
-
QgsFieldComboBox QComboBox