Skip to content

Commit f97d79f

Browse files
committed
Made the 2 docking splitters have slightly wider, teal colored, much more visible separators to match the other 2 teal QSliders
1 parent a861630 commit f97d79f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

mainwindow.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ MainWindow::MainWindow(QWidget *parent) :
170170
m_profilePlot->setStyleSheet( {"border: 3px outset darkgrey;"});
171171
review->s1->addWidget(m_contourView);
172172
QRect rec = QGuiApplication::primaryScreen()->geometry();
173-
review->s1->setSizes({INT_MAX, INT_MAX});
173+
review->s1->setSizes({INT_MAX, INT_MAX}); // because these numbers are identical it will default split the 3d view and contour view 50/50
174174
review->s2->setSizes({ rec.height()/2, rec.height()/2});
175175
review->s2->setStyleSheet(
176176
"QSplitter::handle:vertical{ border: 3px outset #004545; background: #ccffff }"
@@ -179,6 +179,10 @@ MainWindow::MainWindow(QWidget *parent) :
179179
"QSplitter::handle:horizontal{ border: 3px outset #004545; background: #ccffff }"
180180
);
181181

182+
// make docking border separators larger and teal so they are more obvious to users
183+
setStyleSheet(
184+
"QMainWindow::separator { width: 4px; border: 3px outset #004545; background: #ccffff }");
185+
182186
//Surface Manager
183187
m_surfaceManager = SurfaceManager::get_instance(this,m_surfTools, m_profilePlot, m_contourView,
184188
m_ogl->m_surface, metrics);

0 commit comments

Comments
 (0)