MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / updateFrameGeometry

Method updateFrameGeometry

app/src/Platform/CSD.cpp:1108–1115  ·  view source on GitHub ↗

* @brief Updates the frame position and size to fill the window. */

Source from the content-addressed store, hash-verified

1106 * @brief Updates the frame position and size to fill the window.
1107 */
1108void Window::updateFrameGeometry()
1109{
1110 if (!m_frame || !m_window)
1111 return;
1112
1113 m_frame->setPosition(QPointF(0, 0));
1114 m_frame->setSize(QSizeF(m_window->width(), m_window->height()));
1115}
1116
1117/**
1118 * @brief Updates the border position and size.

Callers

nothing calls this directly

Calls 2

widthMethod · 0.80
heightMethod · 0.80

Tested by

no test coverage detected