comparison 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
comparison
equal deleted inserted replaced
36:2743011a6042 37:9ae9365dd4ea
123 }); 123 });
124 124
125 setMenuBar(menubar); 125 setMenuBar(menubar);
126 126
127 QHBoxLayout* layout = new QHBoxLayout(main_widget); 127 QHBoxLayout* layout = new QHBoxLayout(main_widget);
128 layout->addWidget(sidebar, 0, Qt::AlignLeft | Qt::AlignTop); 128 layout->addWidget(sidebar);
129 layout->addWidget(stack); 129 layout->addWidget(stack);
130 setCentralWidget(main_widget); 130 setCentralWidget(main_widget);
131 131
132 ThemeChanged(); 132 ThemeChanged();
133 } 133 }