diff src/gui/window.cpp @ 37:9ae9365dd4ea

window.cpp: fix sidebar on Linux
author Paper <mrpapersonic@gmail.com>
date Thu, 21 Sep 2023 17:15:43 -0400
parents 2743011a6042
children 619cbd6e69f9
line wrap: on
line diff
--- a/src/gui/window.cpp	Thu Sep 21 15:17:47 2023 -0400
+++ b/src/gui/window.cpp	Thu Sep 21 17:15:43 2023 -0400
@@ -125,7 +125,7 @@
 	setMenuBar(menubar);
 
 	QHBoxLayout* layout = new QHBoxLayout(main_widget);
-	layout->addWidget(sidebar, 0, Qt::AlignLeft | Qt::AlignTop);
+	layout->addWidget(sidebar);
 	layout->addWidget(stack);
 	setCentralWidget(main_widget);