Skip to content
Snippets Groups Projects
Commit 7809cd41 authored by Jorge Portal's avatar Jorge Portal Committed by Felix de las Pozas
Browse files

Split panes equally

parent 820e5f73
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
cmake_minimum_required( VERSION 3.1 FATAL_ERROR )
project( NeuroScheme VERSION 0.7.3 )
project( NeuroScheme VERSION 0.7.4 )
set( NeuroScheme_VERSION_ABI 12 )
# Disable in source building
......
......@@ -150,8 +150,8 @@ namespace nslib
parentSplitter->insertWidget( index, newSplitter );
newSplitter->addWidget( orig );
newSplitter->addWidget( canvas );
newSplitter->setStretchFactor( 0, 1 );
newSplitter->setStretchFactor( 1, 1 );
parentSplitter->setSizes(QList<int>({INT_MAX, INT_MAX}));
newSplitter->setSizes(QList<int>({INT_MAX, INT_MAX}));
}
canvas->name = std::string( "Pane ") + std::to_string( _paneNextNumber++ );
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment