summaryrefslogtreecommitdiff
path: root/src/ui/uploadwidget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-08-02 13:05:34 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-08-02 13:05:34 +0300
commitf9571a595986fbaaa7e03c8316219a579fb5b914 (patch)
tree631d650347272ec90c2687319aba120794dbe4d3 /src/ui/uploadwidget.c
parentf3d01757dfcbe9f9e63c6041a5b2152328c5fb2a (diff)
parenteb2a59e2506ba77799d381420aba2ddedaaaa9b8 (diff)
Merge branch 'dev' into work/v1.7
Diffstat (limited to 'src/ui/uploadwidget.c')
-rw-r--r--src/ui/uploadwidget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/uploadwidget.c b/src/ui/uploadwidget.c
index 7f2a68bf..7bfa73bd 100644
--- a/src/ui/uploadwidget.c
+++ b/src/ui/uploadwidget.c
@@ -68,8 +68,8 @@ static void updateInputMaxHeight_UploadWidget_(iUploadWidget *d) {
68 /* Calculate how many lines fits vertically in the view. */ 68 /* Calculate how many lines fits vertically in the view. */
69 const iInt2 inputPos = topLeft_Rect(bounds_Widget(as_Widget(d->input))); 69 const iInt2 inputPos = topLeft_Rect(bounds_Widget(as_Widget(d->input)));
70 const int footerHeight = height_Widget(d->token) + 70 const int footerHeight = height_Widget(d->token) +
71 height_Widget(findChild_Widget(w, "dialogbuttons")) + 71 height_Widget(findChild_Widget(w, "dialogbuttons")) +
72 6 * gap_UI; 72 6 * gap_UI;
73 const int avail = bottom_Rect(safeRect_Root(w->root)) - footerHeight; 73 const int avail = bottom_Rect(safeRect_Root(w->root)) - footerHeight;
74 setLineLimits_InputWidget(d->input, 74 setLineLimits_InputWidget(d->input,
75 minLines_InputWidget(d->input), 75 minLines_InputWidget(d->input),