Skip to content

Commit

Permalink
oscilloscope.cpp: Remove the width constraint on the histogram plot.
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandra Trifan <[email protected]>
  • Loading branch information
AlexandraTrifan authored and adisuciu committed Apr 4, 2022
1 parent c76f6f6 commit b323ed2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/oscilloscope.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3094,8 +3094,6 @@ void Oscilloscope::onHistogram_view_toggled(bool visible)
}

hist_plot.setOrientation(Qt::Vertical);
hist_plot.setMinimumWidth(plot.width());
hist_plot.setMaximumHeight(300);
hist_plot.setMaximumWidth(2000);
plot.setBonusWidthForHistogram(0);
scaleHistogramPlot();
Expand Down

0 comments on commit b323ed2

Please sign in to comment.