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

Method layoutLeftMarginChanged

src/frontend/dockwidgets/WorksheetDock.cpp:454–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454void WorksheetDock::layoutLeftMarginChanged(double margin) {
455 CONDITIONAL_RETURN_NO_LOCK;
456
457 for (auto* worksheet : m_worksheetList)
458 worksheet->setLayoutLeftMargin(Worksheet::convertToSceneUnits(margin, m_worksheetUnit));
459}
460
461void WorksheetDock::layoutRightMarginChanged(double margin) {
462 CONDITIONAL_RETURN_NO_LOCK;

Callers

nothing calls this directly

Calls 1

setLayoutLeftMarginMethod · 0.45

Tested by

no test coverage detected