! Sets the padding of the axis. When \ref QCPAxisRect::setAutoMargins is enabled, the padding is the additional outer most space, that is left blank. The axis padding has no meaning if \ref QCPAxisRect::setAutoMargins is disabled. \see setLabelPadding, setTickLabelPadding */
| 8276 | \see setLabelPadding, setTickLabelPadding |
| 8277 | */ |
| 8278 | void QCPAxis::setPadding(int padding) |
| 8279 | { |
| 8280 | if (mPadding != padding) |
| 8281 | { |
| 8282 | mPadding = padding; |
| 8283 | mCachedMarginValid = false; |
| 8284 | } |
| 8285 | } |
| 8286 | |
| 8287 | /*! |
| 8288 | Sets the offset the axis has to its axis rect side. |