Revert "Reduce top/bottom margin for Adv F&R workareas"

This reverts commit f41ca959fd.
This commit is contained in:
Jean-Marc Lasgouttes 2021-02-16 10:32:36 +01:00
parent 2c2ae5ecd8
commit 810b86560a

View File

@ -351,15 +351,15 @@ int BufferView::leftMargin() const
int BufferView::topMargin() const
{
// Original value was 20px at 100dpi. For internal buffers like in
// advanced search and replace, a value of 5px is enough.
return zoomedPixels(buffer().isInternal() ? 5 : 20);
// original value was 20px, which is 0.2in at 100dpi
return zoomedPixels(20);
}
int BufferView::bottomMargin() const
{
return topMargin();
// original value was 20px, which is 0.2in at 100dpi
return zoomedPixels(20);
}