MCPcopy Create free account
hub / github.com/cpeditor/cpeditor / updateSidebarGeometry

Method updateSidebarGeometry

src/Editor/CodeEditor.cpp:258–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258void CodeEditor::updateSidebarGeometry()
259{
260 setViewportMargins(sidebarWidth(), 0, 0, 0);
261 const auto r = contentsRect();
262 sideBar->setGeometry(QRect(r.left(), r.top(), sidebarWidth(), r.height()));
263}
264
265void CodeEditor::updateSidebarArea(const QRect &rect, int dy)
266{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected