Skip to content

Commit

Permalink
try workspace selector at the bottom, fix margins
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Nov 11, 2014
1 parent 23af7b0 commit ab6c2e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mscore/palettebox.cpp
Expand Up @@ -34,13 +34,15 @@ PaletteBox::PaletteBox(QWidget* parent)
QWidget* w = new QWidget(this);
QVBoxLayout* vl = new QVBoxLayout(w);
QHBoxLayout* hl = new QHBoxLayout;
vl->addLayout(hl);
hl->setContentsMargins(5,5,5,0);

workspaceList = new QComboBox;
workspaceList->setToolTip(tr("Select workspace"));
updateWorkspaces();
hl->addWidget(workspaceList);
QToolButton* nb = new QToolButton;

nb->setMinimumHeight(27);
nb->setText(tr("+"));
nb->setToolTip(tr("Add new workspace"));
hl->addWidget(nb);
Expand All @@ -56,6 +58,7 @@ PaletteBox::PaletteBox(QWidget* parent)
sa->setWidgetResizable(true);
sa->setFrameShape(QFrame::NoFrame);
vl->addWidget(sa);
vl->addLayout(hl);
// setWidget(sa);

QWidget* paletteList = new QWidget;
Expand Down

0 comments on commit ab6c2e6

Please sign in to comment.