Skip to content

Commit

Permalink
fixed left menu spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
seub committed Aug 19, 2016
1 parent 41bfc82 commit 55b9385
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion leftmenu.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include "leftmenu.h"

#include <QVBoxLayout>
#include <QApplication>
#include <QDesktopWidget>

#include "mainwindow.h"
#include "inputmenu.h"
Expand All @@ -11,7 +13,9 @@ LeftMenu::LeftMenu(MainWindow *window)
{
setParent(window);

vertSpace = 3;

int screenHeight = QApplication::desktop()->height();
vertSpace = Tools::intRound(screenHeight*1.0/360);
createSubMenus();
}

Expand Down

0 comments on commit 55b9385

Please sign in to comment.