! Sets the outer rect of this layout element. If the layout element is inside a layout, the layout sets the position and size of this layout element using this function. Calling this function externally has no effect, since the layout will overwrite any changes to the outer rect upon the next replot. The layout element will adapt its inner \ref rect by applying the margins inward t
| 3238 | \see rect |
| 3239 | */ |
| 3240 | void QCPLayoutElement::setOuterRect(const QRect &rect) |
| 3241 | { |
| 3242 | if (mOuterRect != rect) |
| 3243 | { |
| 3244 | mOuterRect = rect; |
| 3245 | mRect = mOuterRect.adjusted(mMargins.left(), mMargins.top(), -mMargins.right(), -mMargins.bottom()); |
| 3246 | } |
| 3247 | } |
| 3248 | |
| 3249 | /*! |
| 3250 | Sets the margins of this layout element. If \ref setAutoMargins is disabled for some or all |
no outgoing calls
no test coverage detected