mirror of
https://github.com/Linloir/SceneEditor.git
synced 2025-12-17 15:38:11 +08:00
Change test layout
This commit is contained in:
parent
8c990f447f
commit
7f7d99caa8
@ -11,8 +11,8 @@ MainWindow::MainWindow(QWidget *parent)
|
|||||||
QHBoxLayout* horizontalLayout = new QHBoxLayout();
|
QHBoxLayout* horizontalLayout = new QHBoxLayout();
|
||||||
ui.centralWidget->setLayout(horizontalLayout);
|
ui.centralWidget->setLayout(horizontalLayout);
|
||||||
// Create a placeholder widget on the left
|
// Create a placeholder widget on the left
|
||||||
QWidget* leftWidget = new QWidget(ui.centralWidget);
|
//QWidget* leftWidget = new QWidget(ui.centralWidget);
|
||||||
horizontalLayout->addWidget(leftWidget);
|
//horizontalLayout->addWidget(leftWidget);
|
||||||
// Add sceneviewer widget to the main window
|
// Add sceneviewer widget to the main window
|
||||||
SceneViewer* sceneViewer = new SceneViewer(ui.centralWidget);
|
SceneViewer* sceneViewer = new SceneViewer(ui.centralWidget);
|
||||||
horizontalLayout->addWidget(sceneViewer);
|
horizontalLayout->addWidget(sceneViewer);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user