diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-10-19 14:23:29 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-10-19 14:23:29 +0300 |
commit | 1da1cc8cca2a559424af75efed9ab933a37758b3 (patch) | |
tree | c54bcc1c0c12a5d985a70c95b24a240b86332ca5 /src/gmdocument.c | |
parent | a77bb427b1ed6786360d9956d3f7523694bcf864 (diff) |
GmDocument: Slightly tighter spacing between list items
Works better with short bullet lines, but still readable with wrapped
ones, too.
Diffstat (limited to 'src/gmdocument.c')
-rw-r--r-- | src/gmdocument.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c index 74e53419..1722bba5 100644 --- a/src/gmdocument.c +++ b/src/gmdocument.c | |||
@@ -265,10 +265,10 @@ static void doLayout_GmDocument_(iGmDocument *d) { | |||
265 | 5, 10, 5, 10, 0, 0, 0, 5 | 265 | 5, 10, 5, 10, 0, 0, 0, 5 |
266 | }; | 266 | }; |
267 | static const float topMargin[max_GmLineType] = { | 267 | static const float topMargin[max_GmLineType] = { |
268 | 0.0f, 0.5f, 1.0f, 0.5f, 2.0f, 1.5f, 1.0f, 1.0f | 268 | 0.0f, 0.333f, 1.0f, 0.5f, 2.0f, 1.5f, 1.0f, 1.0f |
269 | }; | 269 | }; |
270 | static const float bottomMargin[max_GmLineType] = { | 270 | static const float bottomMargin[max_GmLineType] = { |
271 | 0.0f, 0.5f, 1.0f, 0.5f, 0.5f, 0.5f, 0.5f, 1.0f | 271 | 0.0f, 0.333f, 1.0f, 0.5f, 0.5f, 0.5f, 0.5f, 1.0f |
272 | }; | 272 | }; |
273 | static const char *arrow = "\u27a4"; | 273 | static const char *arrow = "\u27a4"; |
274 | static const char *envelope = "\U0001f4e7"; | 274 | static const char *envelope = "\U0001f4e7"; |
@@ -1010,6 +1010,13 @@ void setThemeSeed_GmDocument(iGmDocument *d, const iBlock *seed) { | |||
1010 | d->siteIcon = 0x264a; /* gemini symbol */ | 1010 | d->siteIcon = 0x264a; /* gemini symbol */ |
1011 | } | 1011 | } |
1012 | } | 1012 | } |
1013 | #if 0 | ||
1014 | for (int i = tmFirst_ColorId; i < max_ColorId; ++i) { | ||
1015 | const iColor tc = get_Color(i); | ||
1016 | printf("%02i: #%02x%02x%02x\n", i, tc.r, tc.g, tc.b); | ||
1017 | } | ||
1018 | printf("---\n"); | ||
1019 | #endif | ||
1013 | } | 1020 | } |
1014 | 1021 | ||
1015 | void setFormat_GmDocument(iGmDocument *d, enum iGmDocumentFormat format) { | 1022 | void setFormat_GmDocument(iGmDocument *d, enum iGmDocumentFormat format) { |