X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fcursor.cpp;h=0ea6f5ab7b0c5e3edbc21b64600bc06e2f1346dd;hp=b5fcf9d6798ebc466c63859e687294a9583ba2ac;hb=ec39632d1267a42cb858ac6ad7c98486886a46a0;hpb=ccee92304f20d354ad4959f361d3d26eb5ea6270 diff --git a/pv/view/cursor.cpp b/pv/view/cursor.cpp index b5fcf9d6..0ea6f5ab 100644 --- a/pv/view/cursor.cpp +++ b/pv/view/cursor.cpp @@ -66,8 +66,8 @@ QRectF Cursor::label_rect(const QRectF &rect) const QSize text_size = m.boundingRect(get_text()).size(); const QSizeF label_size( - text_size.width() + View::LabelPadding.width() * 2, - text_size.height() + View::LabelPadding.height() * 2); + text_size.width() + LabelPadding.width() * 2, + text_size.height() + LabelPadding.height() * 2); const float top = rect.height() - label_size.height() - TimeMarker::ArrowSize - 0.5f; const float height = label_size.height();