Fix resizing of QgsCharacterSelectorDialog

This commit is contained in:
Nyall Dawson 2019-05-02 16:08:16 +10:00
parent bcb6183db0
commit 25f20f44c1
2 changed files with 1 additions and 3 deletions

View File

@ -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 );
}

View File

@ -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>