Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give more control over CRe margins #4945

Merged
merged 36 commits into from May 1, 2019
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
3ea5073
Never use partial in the keyboard.
NiLuJe Apr 19, 2019
8ba3d91
Allow omitting the status bar height from the bottom margin, even when
NiLuJe Apr 19, 2019
bc8b3c1
Split CRe margin settings in two (Horizontal & Vertical).
NiLuJe Apr 19, 2019
5e3aa33
Oops, don't have access to config here ;).
NiLuJe Apr 19, 2019
c516dcc
Possibly slightly less cryptic label
NiLuJe Apr 19, 2019
5258bcc
Oops, use the right string name ;p.
NiLuJe Apr 19, 2019
08f8df2
Crappier name, but leaves more space for clicky stuff!
NiLuJe Apr 19, 2019
ff2d2f9
Split vertical margin settings into top/bottom
NiLuJe Apr 19, 2019
bfe16db
Oops, forgot to make LuaCheck happy
NiLuJe Apr 19, 2019
267c789
Keep using the same weird ublanaced defaults, because I can't be arsed
NiLuJe Apr 19, 2019
8c63ea5
Forgot those
NiLuJe Apr 19, 2019
9ccfd6f
Update defaults tests (+19 keys)
NiLuJe Apr 19, 2019
8883e14
Gah.
NiLuJe Apr 19, 2019
f817a9a
Gnnnnn.
NiLuJe Apr 19, 2019
ded7585
I feel like if we could eval' the file instead, it'd be much easier to
NiLuJe Apr 19, 2019
9d66d17
Move margin settings to a new, dedicated tab
NiLuJe Apr 20, 2019
b0d9dfd
Add a buttonprogress variant with -/+ buttons on the sdie, for fine
NiLuJe Apr 20, 2019
b26f4b8
Can't make those default ;)
NiLuJe Apr 20, 2019
e9a4ea8
Use dedicated callbacks for tap/hold on -/+ buttons, to keep things
NiLuJe Apr 20, 2019
9066c0e
Show a toast when setting margins
NiLuJe Apr 20, 2019
87382d8
Longer timeout, and InfoMessage, because we need linefeeds.
NiLuJe Apr 20, 2019
0732f2b
Don't show the margins infomessage when opening the book ;).
NiLuJe Apr 20, 2019
2301a08
Kill debug
NiLuJe Apr 20, 2019
42af9bf
Make top margin fine tunable, too.
NiLuJe Apr 20, 2019
70a2743
Kill extra and ugly final linefeed
NiLuJe Apr 20, 2019
9c13b00
Kill all that, luacheck's right ;).
NiLuJe Apr 20, 2019
f4bbbf3
Migrate old global margin settings
NiLuJe Apr 29, 2019
7485058
Print a recap of the migration
NiLuJe Apr 29, 2019
44a7e01
Handle local settings migration, too.
NiLuJe Apr 29, 2019
0610bf1
Double the margin for the -/+ buttons
NiLuJe Apr 29, 2019
44f118b
Tuck away settings migration internals inside LuaSettings/DocSettings
NiLuJe Apr 29, 2019
d0fbf7b
DRYer
NiLuJe Apr 30, 2019
609edc9
Do a wee bit of introspection to make logging more accurate
NiLuJe Apr 30, 2019
c3e4c77
Update that comment ;)
NiLuJe Apr 30, 2019
caccaf8
Fool-proof that to prevent blowing up on bogus input
NiLuJe Apr 30, 2019
6620457
Wheee!
NiLuJe Apr 30, 2019
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Crappier name, but leaves more space for clicky stuff!

  • Loading branch information...
NiLuJe committed Apr 19, 2019
commit 08f8df2867ac8952fa7b6639d6b66e9fa5233f1c
@@ -8,8 +8,8 @@ S.PAGE_CROP = _("Page Crop")
S.FULL_SCREEN = _("Full Screen")
S.SCROLL_MODE = _("Scroll Mode")
S.ZOOM_DPI = _("Zoom (dpi)")
S.H_PAGE_MARGINS = _("Horizontal Margins")
S.V_PAGE_MARGINS = _("Vertical Margins")
S.H_PAGE_MARGINS = _("L/R Margins")
S.V_PAGE_MARGINS = _("T/B Margins")
S.LINE_SPACING = _("Line Spacing")
S.COLUMNS = _("Columns")
S.TEXT_ALIGN = _("Text Align")
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.