Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

QxtCrumbView: remove unnecessary padding

  • Loading branch information...
commit 5104b47b17c4912a667cbb6710ddb6cf50b73b65 1 parent f20410a
ahigerd authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/gui/qxtcrumbview.cpp
View
2  src/gui/qxtcrumbview.cpp
@@ -174,7 +174,9 @@ QxtCrumbView::QxtCrumbView(QWidget* parent) : QAbstractItemView(parent) {
viewport()->setBackgroundRole(QPalette::Window);
setFrameStyle(QFrame::NoFrame);
QVBoxLayout* layout = new QVBoxLayout(this);
+ layout->setContentsMargins(0, 0, 0, 0);
qxt_d().buttonLayout = new QHBoxLayout;
+ qxt_d().buttonLayout->setContentsMargins(0, 0, 0, 0);
qxt_d().buttonLayout->setSpacing(0);
qxt_d().buttonLayout->addStretch(1);
QToolButton* backButton = new QToolButton(this);
Please sign in to comment.
Something went wrong with that request. Please try again.