Skip to content

Commit

Permalink
Increase SpikeViewer canvas scrollbar size
Browse files Browse the repository at this point in the history
  • Loading branch information
anjaldoshi committed Jun 12, 2024
1 parent 698df23 commit 6b2f9fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Plugins/SpikeViewer/SpikeDisplayCanvas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ SpikeDisplayCanvas::SpikeDisplayCanvas (SpikeDisplayNode* processor_) : Visualiz
thresholdCoordinator = std::make_unique<SpikeThresholdCoordinator>();
spikeDisplay->registerThresholdCoordinator (thresholdCoordinator.get());

scrollBarThickness = 15;
viewport->setViewedComponent (spikeDisplay.get(), false);
viewport->setScrollBarsShown (true, false);

scrollBarThickness = viewport->getScrollBarThickness();
viewport->setScrollBarThickness (scrollBarThickness);

clearButton = std::make_unique<UtilityButton> ("Clear Plots", FontOptions ("Inter", "Regular", 14.0f));
clearButton->setRadius (3.0f);
Expand Down

0 comments on commit 6b2f9fc

Please sign in to comment.