X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Fviewitem.cpp;h=ae5c427aff426acae5db7baa319567f5e13cda41;hb=97430d7726c69e1710aef223c39c760c79721ff5;hp=b3498ac159434ea6d36c2404bcedcca025e52d52;hpb=d4e39570ee6021766c375654801dddba45b9198a;p=pulseview.git diff --git a/pv/view/viewitem.cpp b/pv/view/viewitem.cpp index b3498ac1..ae5c427a 100644 --- a/pv/view/viewitem.cpp +++ b/pv/view/viewitem.cpp @@ -29,7 +29,8 @@ namespace pv { namespace view { -const int ViewItem::HighlightRadius = 6; +const QSizeF ViewItem::LabelPadding(4, 0); +const int ViewItem::HighlightRadius = 3; ViewItem::ViewItem() : context_parent_(NULL), @@ -81,7 +82,7 @@ void ViewItem::delete_pressed() QPen ViewItem::highlight_pen() { return QPen(QApplication::palette().brush( - QPalette::Highlight), HighlightRadius, + QPalette::Highlight), HighlightRadius * 2, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin); }