]> sigrok.org Git - pulseview.git/blobdiff - pv/widgets/popup.cpp
Reduced popup padding
[pulseview.git] / pv / widgets / popup.cpp
index 399f5e28b6d56d4d525b896a371208f304c7bb97..099c5499acafbb30ba119f8729879947ee45630b 100644 (file)
@@ -20,6 +20,8 @@
 
 #include <algorithm>
 
+#include <assert.h>
+
 #include <QtGui>
 
 #include "popup.h"
@@ -29,9 +31,9 @@ using namespace std;
 namespace pv {
 namespace widgets {
 
-const unsigned int Popup::ArrowLength = 15;
+const unsigned int Popup::ArrowLength = 10;
 const unsigned int Popup::ArrowOverlap = 3;
-const unsigned int Popup::MarginWidth = 10;
+const unsigned int Popup::MarginWidth = 6;
 
 Popup::Popup(QWidget *parent) :
        QWidget(parent, Qt::Popup | Qt::FramelessWindowHint),