MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / setLabelPadding

Method setLabelPadding

qcustomplot/qcustomplot.cpp:8259–8266  ·  view source on GitHub ↗

! Sets the distance between the tick labels and the axis label. \see setTickLabelPadding, setPadding */

Source from the content-addressed store, hash-verified

8257 \see setTickLabelPadding, setPadding
8258*/
8259void QCPAxis::setLabelPadding(int padding)
8260{
8261 if (mAxisPainter->labelPadding != padding)
8262 {
8263 mAxisPainter->labelPadding = padding;
8264 mCachedMarginValid = false;
8265 }
8266}
8267
8268/*!
8269 Sets the padding of the axis.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected