MCPcopy Create free account
hub / github.com/KDE/labplot / layoutLeftMarginChanged

Method layoutLeftMarginChanged

src/frontend/dockwidgets/CartesianPlotLegendDock.cpp:522–527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520}
521
522void CartesianPlotLegendDock::layoutLeftMarginChanged(double margin) {
523 CONDITIONAL_RETURN_NO_LOCK;
524
525 for (auto* legend : m_legendList)
526 legend->setLayoutLeftMargin(Worksheet::convertToSceneUnits(margin, m_worksheetUnit));
527}
528
529void CartesianPlotLegendDock::layoutRightMarginChanged(double margin) {
530 CONDITIONAL_RETURN_NO_LOCK;

Callers

nothing calls this directly

Calls 1

setLayoutLeftMarginMethod · 0.45

Tested by

no test coverage detected