feat: focus content area in center

This commit is contained in:
talksik
2026-01-29 08:38:54 -08:00
parent 20dd1e3a67
commit 33b04b539d
2 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -80,8 +80,8 @@ MainWindow::MainWindow(QWidget *parent)
updatePingIndicator();
ui->splitter->setStretchFactor(0, 1);
ui->splitter->setStretchFactor(1, 1);
ui->splitter->setStretchFactor(2, 2);
ui->splitter->setStretchFactor(1, 2);
ui->splitter->setStretchFactor(2, 1);
setupModels();
+8 -8
View File
@@ -150,14 +150,6 @@
</item>
</layout>
</widget>
<widget class="QListView" name="particlesView">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
<widget class="QWidget" name="contentView" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
@@ -383,6 +375,14 @@
</item>
</layout>
</widget>
<widget class="QListView" name="particlesView">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</widget>
</item>
</layout>