mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-23 12:38:53 -04:00
Improve readability of the first line when "Start new period decodes at top" is checked.
(cherry picked from commit a00229c8854121e63db6633e5cf47b99b88cdba1)
This commit is contained in:
parent
3097b20bc7
commit
343c339de0
@ -234,6 +234,7 @@ void DisplayText::extend_vertical_scrollbar (int min, int max)
|
||||
}
|
||||
if (max && max != modified_vertical_scrollbar_max_)
|
||||
{
|
||||
setViewportMargins (0,4,0,0); // ensure first line is readable
|
||||
auto vp_margins = viewportMargins ();
|
||||
// add enough to vertical scroll bar range to allow last
|
||||
// decode to just scroll of the top of the view port
|
||||
|
Loading…
Reference in New Issue
Block a user