MCPcopy Create free account
hub / github.com/GilesBathgate/RapCAD / resizeEvent

Method resizeEvent

src/ui/codeeditor.cpp:248–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248void CodeEditor::resizeEvent(QResizeEvent* e)
249{
250 QPlainTextEdit::resizeEvent(e);
251
252 QRect cr = contentsRect();
253 lineNumberArea->setGeometry(QRect(cr.left(), cr.top(), lineNumberAreaWidth(), cr.height()));
254}
255
256bool CodeEditor::event(QEvent* event)
257{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected