Skip to content

Commit

Permalink
Fix resizing of QgsCharacterSelectorDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 2, 2019
1 parent bcb6183 commit 25f20f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions src/gui/qgscharacterselectordialog.cpp
Expand Up @@ -25,6 +25,7 @@ QgsCharacterSelectorDialog::QgsCharacterSelectorDialog( QWidget *parent, Qt::Win
setupUi( this );
mCharWidget = new CharacterWidget( this );
mCharSelectScrollArea->setWidget( mCharWidget );
mCharSelectScrollArea->setVerticalOnly( true );
connect( mCharWidget, &CharacterWidget::characterSelected, this, &QgsCharacterSelectorDialog::setCharacter );
}

Expand Down
3 changes: 0 additions & 3 deletions src/ui/qgscharacterselectdialogbase.ui
Expand Up @@ -55,9 +55,6 @@
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAsNeeded</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAsNeeded</enum>
</property>
<property name="widgetResizable">
<bool>false</bool>
</property>
Expand Down

0 comments on commit 25f20f4

Please sign in to comment.