Skip to content

Commit

Permalink
decreased tag dock widget height of OS X and Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek committed Oct 10, 2016
1 parent 3af8de3 commit 510fcba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,11 @@ void MainWindow::initDockWidgets() {
addDockWidget(Qt::RightDockWidgetArea, _noteTagDockWidget, Qt::Vertical);
// TODO(pbek): maybe do this only if there is no restoreState setting yet
// I found no other easy way to restrict the height
#ifdef Q_OS_LINUX
_noteTagDockWidget->setMaximumHeight(120);
#else
_noteTagDockWidget->setMaximumHeight(50);
#endif

_notePreviewDockWidget = new QDockWidget(tr("Note preview"), this);
_notePreviewDockWidget->setObjectName("notePreviewDockWidget");
Expand Down

0 comments on commit 510fcba

Please sign in to comment.