mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-20 15:10:46 +02:00
Fix wallet selector size adjustment
This commit is contained in:
parent
035f349371
commit
ca91661adf
@ -485,6 +485,7 @@ void BitcoinGUI::createToolBars()
|
|||||||
toolbar->addWidget(spacer);
|
toolbar->addWidget(spacer);
|
||||||
|
|
||||||
m_wallet_selector = new QComboBox();
|
m_wallet_selector = new QComboBox();
|
||||||
|
m_wallet_selector->setSizeAdjustPolicy(QComboBox::AdjustToContents);
|
||||||
connect(m_wallet_selector, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &BitcoinGUI::setCurrentWalletBySelectorIndex);
|
connect(m_wallet_selector, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &BitcoinGUI::setCurrentWalletBySelectorIndex);
|
||||||
|
|
||||||
m_wallet_selector_label = new QLabel();
|
m_wallet_selector_label = new QLabel();
|
||||||
|
@ -453,6 +453,9 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QComboBox" name="WalletSelector">
|
<widget class="QComboBox" name="WalletSelector">
|
||||||
|
<property name="sizeAdjustPolicy">
|
||||||
|
<enum>QComboBox::AdjustToContents</enum>
|
||||||
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>(none)</string>
|
<string>(none)</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user