diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/uploadwidget.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/uploadwidget.c b/src/ui/uploadwidget.c index b9118ca2..eb8039c3 100644 --- a/src/ui/uploadwidget.c +++ b/src/ui/uploadwidget.c | |||
@@ -111,7 +111,7 @@ void init_UploadWidget(iUploadWidget *d) { | |||
111 | addChild_Widget(headings, iClob(new_LabelWidget("${upload.file.size}", NULL))); | 111 | addChild_Widget(headings, iClob(new_LabelWidget("${upload.file.size}", NULL))); |
112 | d->fileSizeLabel = addChild_Widget(values, iClob(new_LabelWidget("\u2014", NULL))); | 112 | d->fileSizeLabel = addChild_Widget(values, iClob(new_LabelWidget("\u2014", NULL))); |
113 | d->mime = new_InputWidget(0); | 113 | d->mime = new_InputWidget(0); |
114 | setFixedSize_Widget(as_Widget(d->mime), init_I2(50 * gap_UI, -1)); | 114 | setFixedSize_Widget(as_Widget(d->mime), init_I2(70 * gap_UI, -1)); |
115 | addTwoColumnDialogInputField_Widget(headings, values, "${upload.mime}", "upload.mime", iClob(d->mime)); | 115 | addTwoColumnDialogInputField_Widget(headings, values, "${upload.mime}", "upload.mime", iClob(d->mime)); |
116 | } | 116 | } |
117 | /* Token. */ { | 117 | /* Token. */ { |
@@ -139,6 +139,9 @@ void init_UploadWidget(iUploadWidget *d) { | |||
139 | addChild_Widget(w, iClob(buttons)); | 139 | addChild_Widget(w, iClob(buttons)); |
140 | } | 140 | } |
141 | resizeToLargestPage_Widget(tabs); | 141 | resizeToLargestPage_Widget(tabs); |
142 | arrange_Widget(w); | ||
143 | setFixedSize_Widget(as_Widget(d->token), init_I2(width_Widget(tabs) - left_Rect(parent_Widget(d->token)->rect), -1)); | ||
144 | setFlags_Widget(as_Widget(d->token), expand_WidgetFlag, iTrue); | ||
142 | setFocus_Widget(as_Widget(d->input)); | 145 | setFocus_Widget(as_Widget(d->input)); |
143 | setBackupFileName_InputWidget(d->input, "uploadbackup.txt"); | 146 | setBackupFileName_InputWidget(d->input, "uploadbackup.txt"); |
144 | } | 147 | } |