mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:15:39 +00:00
UI: Traffic Graph: Tweak paddings
This commit is contained in:
parent
78b579c76f
commit
3b020e8b7c
@ -149,16 +149,16 @@ void GraphWindow::setupUi()
|
||||
connect(m_plot, &GraphPlot::mouseDragEnd, this, &GraphWindow::onMouseDragEnd);
|
||||
|
||||
// Axis
|
||||
m_plot->xAxis->setVisible(false);
|
||||
auto xAxis = m_plot->xAxis;
|
||||
xAxis->setVisible(false);
|
||||
|
||||
auto yAxis = m_plot->yAxis;
|
||||
yAxis->setVisible(true);
|
||||
yAxis->setPadding(1);
|
||||
yAxis->setTickLabelPadding(2);
|
||||
|
||||
// Axis Rect
|
||||
auto axisRect = m_plot->axisRect();
|
||||
axisRect->setMinimumMargins(QMargins(1, 1, 1, 1));
|
||||
axisRect->setMinimumMargins(QMargins(1, 2, 1, 1));
|
||||
|
||||
// Axis Ticker
|
||||
QSharedPointer<AxisTickerSpeed> ticker(new AxisTickerSpeed());
|
||||
|
Loading…
Reference in New Issue
Block a user