Bug: Left/right editor margins also applied to top and bottom

Te
TeaDrivenDev
Posts: 14
Joined: Thu May 28, 2020 3:01 am
Platform: Windows

Thu May 28, 2020 4:01 am Post

Under Options -> Appearance -> Main Editor, when deactivating "Use fixed width editor" and setting a margin for "Left/Right", margins of the same size are also added at the top and bottom of the document.

Scrivener version: 2.9.9.6 64-bit
Windows 10 1909

an
andreisirius
Posts: 6
Joined: Tue May 26, 2020 3:04 pm
Platform: Windows

Thu May 28, 2020 6:08 am Post

Yes, I noticed the same problem. More than that, the margins do not respect the entered size. For example, I set the Lef/Right margin to 30, and I got the following margins:

scr03.png
scr03.png (21.1 KiB) Viewed 266 times


As you see, none of the margins are equal. Only the left margin is 30.
I hope this helps.

Te
TeaDrivenDev
Posts: 14
Joined: Thu May 28, 2020 3:01 am
Platform: Windows

Wed Jun 17, 2020 4:04 am Post

This still occurs in 2.9.9.7.

an
andreisirius
Posts: 6
Joined: Tue May 26, 2020 3:04 pm
Platform: Windows

Sun Jul 12, 2020 5:32 pm Post

Also in 2.9.9.8

User avatar
Jestar
Posts: 289
Joined: Sun Feb 19, 2017 6:51 pm
Platform: Mac + Windows

Sun Jul 12, 2020 8:51 pm Post

TeaDrivenDev wrote:Under Options -> Appearance -> Main Editor, when deactivating "Use fixed width editor" and setting a margin for "Left/Right", margins of the same size are also added at the top and bottom of the document.

Scrivener version: 2.9.9.6 64-bit
Windows 10 1909

Correct, the margins are applied all around, though the bottom margin is actually padded with the extra spacing since Scrivener has no way of knowing the full document length (it is almost like the padding is on top of another set padding). In the editor, you are likely never going to notice the bottom padding as shown here (Left/right margins set to 25 points):
Annotation 2020-07-12 134825.png
left/right editor margins set to 25 points
Annotation 2020-07-12 134825.png (37.14 KiB) Viewed 103 times
Win 10 Ent. 64-Bit 2004
Intel Core i7-2600 @ 3,4 GHz (Quadcore) 32 GB RAM
Samsung SSD 860 EVO 500GB
NVIDIA Quadro K600
Scrivener Version: Version: 1.9.16.0 - 14 Nov 2019 & Version: 2.9.9.8 Beta (984254) 64-bit - 12 Jul 2020

User avatar
Jestar
Posts: 289
Joined: Sun Feb 19, 2017 6:51 pm
Platform: Mac + Windows

Sun Jul 12, 2020 9:04 pm Post

andreisirius wrote:Yes, I noticed the same problem. More than that, the margins do not respect the entered size. For example, I set the Lef/Right margin to 30, and I got the following margins:

scr03.png

As you see, none of the margins are equal. Only the left margin is 30.
I hope this helps.

Actually they do, even in Scrivenings mode which you were showing. What you are seeing is the uneven line endings in left-justified text. Check out the screenshot (note I have the ruler turned on and the editor margins set to 25 points):
Annotation 2020-07-12 133843.png
Scrivenings mode showing justification
Annotation 2020-07-12 133843.png (91.99 KiB) Viewed 101 times

As I noted in my other message, the left/right editor margins also apply to the top and add extra padding to the bottom as can be seen here when the margins are set to 80 points:
Annotation 2020-07-12 140013.png
Scrivenings mode 80 points l/r margin
Annotation 2020-07-12 140013.png (63.45 KiB) Viewed 101 times

Note that the left and right (and top) margins are equal as shown by the ruler and when using fully-justified alignment.
Win 10 Ent. 64-Bit 2004
Intel Core i7-2600 @ 3,4 GHz (Quadcore) 32 GB RAM
Samsung SSD 860 EVO 500GB
NVIDIA Quadro K600
Scrivener Version: Version: 1.9.16.0 - 14 Nov 2019 & Version: 2.9.9.8 Beta (984254) 64-bit - 12 Jul 2020

ph
philipp_philipp
Posts: 2
Joined: Tue Sep 10, 2019 2:17 pm
Platform: Win + iOS

Mon Aug 03, 2020 1:01 pm Post

Hi,

is there a plan to change/fix this behaviour?
And, why is not possible to change the top/bottom values for the editor margins as it was in earlier versions?

Thanks,
Philipp