diff options
Diffstat (limited to 'src/ui/uploadwidget.c')
-rw-r--r-- | src/ui/uploadwidget.c | 4 |
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), |