Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change spacer minimum height hint #1511

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 0 additions & 9 deletions src/qt/bitcoingui.cpp
Expand Up @@ -453,22 +453,13 @@ void BitcoinGUI::createToolBars()
toolbar->addAction(addressBookAction);
toolbar->addAction(votingAction);

// Prevent Lock from falling off the page

QWidget* spacer = new QWidget();
spacer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
toolbar->addWidget(spacer);
spacer->setObjectName("spacer");
// Unlock Wallet
toolbar->addAction(unlockWalletAction);
toolbar->addAction(lockWalletAction);
QWidget* webSpacer = new QWidget();

webSpacer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
webSpacer->setMaximumHeight(10);
toolbar->addWidget(webSpacer);
webSpacer->setObjectName("WebSpacer");


// Status bar notification icons
QFrame *frameBlocks = new QFrame();
Expand Down
4 changes: 2 additions & 2 deletions src/qt/forms/overviewpage.ui
Expand Up @@ -255,7 +255,7 @@
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
<height>40</height>
</size>
</property>
</spacer>
Expand Down Expand Up @@ -413,7 +413,7 @@
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>10</height>
<height>40</height>
</size>
</property>
</spacer>
Expand Down