Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix expanding ratio lock button under kbuntu qt theme
  • Loading branch information
nirvn committed Jul 21, 2017
1 parent db74133 commit 00ac9f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/qgsratiolockbutton.cpp
Expand Up @@ -28,6 +28,7 @@ QgsRatioLockButton::QgsRatioLockButton( QWidget *parent )

{
setMinimumSize( QSize( 24, 24 ) );
setMaximumWidth( fontMetrics().width( "000" ) );
setCheckable( true );
setAutoRaise( true );
connect( this, &QPushButton::clicked, this, &QgsRatioLockButton::buttonClicked );
Expand Down
6 changes: 6 additions & 0 deletions src/ui/qgsmapsavedialog.ui
Expand Up @@ -94,6 +94,12 @@ Rasterizing the map is recommended when such effects are used.</string>
</property>
<item row="0" column="0">
<widget class="QgsSpinBox" name="mOutputWidthSpinBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="suffix">
<string> px</string>
</property>
Expand Down

0 comments on commit 00ac9f5

Please sign in to comment.