Skip to content
Permalink
Browse files

fix expanding ratio lock button under kbuntu qt theme

  • Loading branch information
nirvn committed Jul 21, 2017
1 parent db74133 commit 00ac9f51edef12efda01f5643ada48047819cfd7
Showing with 7 additions and 0 deletions.
  1. +1 −0 src/gui/qgsratiolockbutton.cpp
  2. +6 −0 src/ui/qgsmapsavedialog.ui
@@ -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 );
@@ -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>

0 comments on commit 00ac9f5

Please sign in to comment.
You can’t perform that action at this time.