mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
Reduce top/bottom margin for Adv F&R workareas
This commit is contained in:
parent
26135330bc
commit
f41ca959fd
@ -351,15 +351,15 @@ int BufferView::leftMargin() const
|
||||
|
||||
int BufferView::topMargin() const
|
||||
{
|
||||
// original value was 20px, which is 0.2in at 100dpi
|
||||
return zoomedPixels(20);
|
||||
// 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);
|
||||
}
|
||||
|
||||
|
||||
int BufferView::bottomMargin() const
|
||||
{
|
||||
// original value was 20px, which is 0.2in at 100dpi
|
||||
return zoomedPixels(20);
|
||||
return topMargin();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user