From 1ffd161fa550d5334df7ee1aaa16bc369a1324b4 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Wed, 7 Oct 2020 12:31:31 +0300 Subject: Drawing an audio player UI --- src/gmdocument.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gmdocument.c') diff --git a/src/gmdocument.c b/src/gmdocument.c index ff0e019b..e2696085 100644 --- a/src/gmdocument.c +++ b/src/gmdocument.c @@ -570,7 +570,7 @@ static void doLayout_GmDocument_(iGmDocument *d) { pos.y += margin; run.bounds.pos = pos; run.bounds.size.x = d->size.x; - run.bounds.size.y = 2 * lineHeight_Text(uiContent_FontId); + run.bounds.size.y = lineHeight_Text(uiContent_FontId) + 3 * gap_UI; run.visBounds = run.bounds; run.text = iNullRange; run.color = 0; -- cgit v1.2.3