Skip to content

Commit 6cfbe30

Browse files
committed
Change spacer minimum height hint
This hopefully fixes the lock fall of the page issue (again).
1 parent f74aeb1 commit 6cfbe30

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

src/qt/bitcoingui.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -453,22 +453,13 @@ void BitcoinGUI::createToolBars()
453453
toolbar->addAction(addressBookAction);
454454
toolbar->addAction(votingAction);
455455

456-
// Prevent Lock from falling off the page
457-
458456
QWidget* spacer = new QWidget();
459457
spacer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
460458
toolbar->addWidget(spacer);
461459
spacer->setObjectName("spacer");
462460
// Unlock Wallet
463461
toolbar->addAction(unlockWalletAction);
464462
toolbar->addAction(lockWalletAction);
465-
QWidget* webSpacer = new QWidget();
466-
467-
webSpacer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
468-
webSpacer->setMaximumHeight(10);
469-
toolbar->addWidget(webSpacer);
470-
webSpacer->setObjectName("WebSpacer");
471-
472463

473464
// Status bar notification icons
474465
QFrame *frameBlocks = new QFrame();

src/qt/forms/overviewpage.ui

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@
255255
<property name="sizeHint" stdset="0">
256256
<size>
257257
<width>20</width>
258-
<height>20</height>
258+
<height>40</height>
259259
</size>
260260
</property>
261261
</spacer>
@@ -413,7 +413,7 @@
413413
<property name="sizeHint" stdset="0">
414414
<size>
415415
<width>20</width>
416-
<height>10</height>
416+
<height>40</height>
417417
</size>
418418
</property>
419419
</spacer>

0 commit comments

Comments
 (0)