diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-07-26 12:45:55 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-07-26 12:45:55 +0300 |
commit | ab514d2cede9a5ff966ad23532261ae709003eb5 (patch) | |
tree | 4296919ad6cca7fd87ed72dfc2d1b54b3af9dfe2 /src/ui/uploadwidget.c | |
parent | 41ecc059e2663a49a55ffc3b1f49b34db52b6f90 (diff) |
UploadWidget: Use frameless widgets
Diffstat (limited to 'src/ui/uploadwidget.c')
-rw-r--r-- | src/ui/uploadwidget.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/uploadwidget.c b/src/ui/uploadwidget.c index 6dca729c..7dd26e93 100644 --- a/src/ui/uploadwidget.c +++ b/src/ui/uploadwidget.c | |||
@@ -112,10 +112,10 @@ void init_UploadWidget(iUploadWidget *d) { | |||
112 | // iWidget *pad = addChild_Widget(headings, iClob(makePadding_Widget(0))); | 112 | // iWidget *pad = addChild_Widget(headings, iClob(makePadding_Widget(0))); |
113 | // iWidget *hint = addChild_Widget(values, iClob(new_LabelWidget("${upload.file.drophint}", NULL))); | 113 | // iWidget *hint = addChild_Widget(values, iClob(new_LabelWidget("${upload.file.drophint}", NULL))); |
114 | // pad->sizeRef = hint; | 114 | // pad->sizeRef = hint; |
115 | addChild_Widget(headings, iClob(new_LabelWidget("${upload.file.name}", NULL))); | 115 | addChildFlags_Widget(headings, iClob(new_LabelWidget("${upload.file.name}", NULL)), frameless_WidgetFlag); |
116 | d->filePathLabel = addChild_Widget(values, iClob(new_LabelWidget(uiTextAction_ColorEscape "${upload.file.drophere}", NULL))); | 116 | d->filePathLabel = addChildFlags_Widget(values, iClob(new_LabelWidget(uiTextAction_ColorEscape "${upload.file.drophere}", NULL)), frameless_WidgetFlag); |
117 | addChild_Widget(headings, iClob(new_LabelWidget("${upload.file.size}", NULL))); | 117 | addChildFlags_Widget(headings, iClob(new_LabelWidget("${upload.file.size}", NULL)), frameless_WidgetFlag); |
118 | d->fileSizeLabel = addChild_Widget(values, iClob(new_LabelWidget("\u2014", NULL))); | 118 | d->fileSizeLabel = addChildFlags_Widget(values, iClob(new_LabelWidget("\u2014", NULL)), frameless_WidgetFlag); |
119 | d->mime = new_InputWidget(0); | 119 | d->mime = new_InputWidget(0); |
120 | setFixedSize_Widget(as_Widget(d->mime), init_I2(70 * gap_UI, -1)); | 120 | setFixedSize_Widget(as_Widget(d->mime), init_I2(70 * gap_UI, -1)); |
121 | addTwoColumnDialogInputField_Widget(headings, values, "${upload.mime}", "upload.mime", iClob(d->mime)); | 121 | addTwoColumnDialogInputField_Widget(headings, values, "${upload.mime}", "upload.mime", iClob(d->mime)); |