Skip to content

Commit

Permalink
[diagrams] Better default size for diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 23, 2019
1 parent 1c0a991 commit a72f42b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/app/qgsdiagramproperties.cpp
Expand Up @@ -116,6 +116,7 @@ QgsDiagramProperties::QgsDiagramProperties( QgsVectorLayer *layer, QWidget *pare
mDiagramPenColorButton->setNoColorString( tr( "Transparent Stroke" ) );

mMaxValueSpinBox->setShowClearButton( false );
mSizeSpinBox->setClearValue( 5 );

mDiagramAttributesTreeWidget->setItemDelegateForColumn( ColumnAttributeExpression, new EditBlockerDelegate( this ) );
mDiagramAttributesTreeWidget->setItemDelegateForColumn( ColumnColor, new EditBlockerDelegate( this ) );
Expand Down
3 changes: 3 additions & 0 deletions src/ui/qgsdiagrampropertiesbase.ui
Expand Up @@ -1321,6 +1321,9 @@
<property name="singleStep">
<double>0.200000000000000</double>
</property>
<property name="value">
<double>5.000000000000000</double>
</property>
</widget>
</item>
</layout>
Expand Down

0 comments on commit a72f42b

Please sign in to comment.