projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added missing includes to popuptoolbutton.{h,cpp}
[pulseview.git]
/
pv
/
view
/
decode
/
annotation.cpp
diff --git
a/pv/view/decode/annotation.cpp
b/pv/view/decode/annotation.cpp
index 797b428ae781354afe66b71a2860a89ef408a72e..7650b29e7715f48f419250ccc4787df1c5d40a02 100644
(file)
--- a/
pv/view/decode/annotation.cpp
+++ b/
pv/view/decode/annotation.cpp
@@
-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 -