Skip to content

Commit

Permalink
Modified size & alignment of notebook button in editor.
Browse files Browse the repository at this point in the history
  • Loading branch information
baumgarr committed Feb 3, 2017
1 parent 264b78d commit eeb7e27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions gui/browserWidgets/notebookmenubutton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ NotebookMenuButton::NotebookMenuButton(QWidget *parent) :
rootMenu.setFont(global.getGuiFont(rootMenu.font()));
this->setFont(global.getGuiFont(font()));
currentAction = 0;

this->setStyleSheet("QPushButton {"
"text-align:left;"
"}");
}


Expand Down
4 changes: 2 additions & 2 deletions gui/nbrowserwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ NBrowserWindow::NBrowserWindow(QWidget *parent) :
// Setup line #1 of the window. The text & notebook
connect(&alarmText, SIGNAL(clicked()), this, SLOT(alarmCompleted()));
layout->addLayout(line1Layout);
line1Layout->addWidget(&noteTitle);
line1Layout->addWidget(&noteTitle,20);
line1Layout->addWidget(&alarmText);
line1Layout->addWidget(&alarmButton);
line1Layout->addWidget(&notebookMenu);
line1Layout->addWidget(&notebookMenu,4);
line1Layout->addWidget(&expandButton);


Expand Down

0 comments on commit eeb7e27

Please sign in to comment.