mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-14 00:08:51 -05:00
to show in numeric/distance widgets
E.g. to only show 2 decimal places:
# only show two decimal places in parameter's widgets, not 6:
param.setMetadata( {'widget_wrapper':
{ 'decimals': 2 }
})