Added same margin to tickbars in mainwindow