summaryrefslogtreecommitdiff
path: root/src/ui/inputwidget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-13 09:12:09 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-13 09:12:09 +0200
commit2adb05255f80f0cacb591dea07d43af3d41f1f38 (patch)
treee86c2c54ad356ae5a55ab4bbce9941704b9a6b95 /src/ui/inputwidget.c
parent97d8767043174ba7901014cc904579e1a741ef30 (diff)
Fixed resizing of input dialogs
Diffstat (limited to 'src/ui/inputwidget.c')
-rw-r--r--src/ui/inputwidget.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/inputwidget.c b/src/ui/inputwidget.c
index f4302887..27f0217c 100644
--- a/src/ui/inputwidget.c
+++ b/src/ui/inputwidget.c
@@ -123,7 +123,9 @@ static void updateMetrics_InputWidget_(iInputWidget *d) {
123 w->rect.size.y += 2 * gap_UI; 123 w->rect.size.y += 2 * gap_UI;
124#endif 124#endif
125 invalidateBuffered_InputWidget_(d); 125 invalidateBuffered_InputWidget_(d);
126 arrange_Widget(w); 126 if (parent_Widget(w)) {
127 arrange_Widget(w);
128 }
127} 129}
128 130
129void init_InputWidget(iInputWidget *d, size_t maxLen) { 131void init_InputWidget(iInputWidget *d, size_t maxLen) {