summaryrefslogtreecommitdiff
path: root/src/ui/uploadwidget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-09-18 21:23:58 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-09-18 21:23:58 +0300
commitb149fb3ae65af6f58fc6e7fb4f569ab534a32759 (patch)
treeb6bf6e579b8320a03533344dc98a0badaaabd53b /src/ui/uploadwidget.c
parent7d7110c1dfe376334317983b4c2734ddb474ac8c (diff)
UploadWidget: Adjusted max height
Diffstat (limited to 'src/ui/uploadwidget.c')
-rw-r--r--src/ui/uploadwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/uploadwidget.c b/src/ui/uploadwidget.c
index ab1afae9..72608851 100644
--- a/src/ui/uploadwidget.c
+++ b/src/ui/uploadwidget.c
@@ -95,7 +95,7 @@ static void updateInputMaxHeight_UploadWidget_(iUploadWidget *d) {
95 const int footerHeight = isUsingPanelLayout_Mobile() ? 0 : 95 const int footerHeight = isUsingPanelLayout_Mobile() ? 0 :
96 (height_Widget(d->token) + 96 (height_Widget(d->token) +
97 height_Widget(findChild_Widget(w, "dialogbuttons")) + 97 height_Widget(findChild_Widget(w, "dialogbuttons")) +
98 6 * gap_UI); 98 12 * gap_UI);
99 const int avail = bottom_Rect(safeRect_Root(w->root)) - footerHeight - 99 const int avail = bottom_Rect(safeRect_Root(w->root)) - footerHeight -
100 get_Window()->keyboardHeight; 100 get_Window()->keyboardHeight;
101 setLineLimits_InputWidget(d->input, 101 setLineLimits_InputWidget(d->input,