]> sigrok.org Git - pulseview.git/commitdiff
Adjusted annotation height
authorJoel Holdsworth <redacted>
Sun, 10 Nov 2013 21:43:53 +0000 (21:43 +0000)
committerJoel Holdsworth <redacted>
Tue, 19 Nov 2013 19:32:10 +0000 (19:32 +0000)
pv/view/decode/annotation.cpp

index 797b428ae781354afe66b71a2860a89ef408a72e..7650b29e7715f48f419250ccc4787df1c5d40a02 100644 (file)
@@ -71,7 +71,7 @@ void Annotation::paint(QPainter &p, QColor text_color, int text_height,
        int left, int right, double samples_per_pixel, double pixels_offset,
        int y)
 {
        int left, int right, double samples_per_pixel, double pixels_offset,
        int y)
 {
-       const int h = (text_height * 3) / 2;
+       const int h = (text_height * 5) / 4;
        const double start = _start_sample / samples_per_pixel -
                pixels_offset;
        const double end = _end_sample / samples_per_pixel -
        const double start = _start_sample / samples_per_pixel -
                pixels_offset;
        const double end = _end_sample / samples_per_pixel -