diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-13 08:57:43 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-13 08:57:43 +0200 |
commit | 97d8767043174ba7901014cc904579e1a741ef30 (patch) | |
tree | f7eb54246df4aa8a8fa4ca2f2cdfab0a95325d0d /src/ui/documentwidget.c | |
parent | 4d9c26488c25ecbadb3444f9d628a0bb6bc93fa2 (diff) |
Arrange URL child indicators; widget arrangement
The indicators in the URL input field are now arranged horizontally, so they don't overlap.
Improved arrangement of (un)collapsed widgets.
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 5d3aa3ba..a7666865 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -836,7 +836,7 @@ static void showErrorPage_DocumentWidget_(iDocumentWidget *d, enum iGmStatusCode | |||
836 | static void updateFetchProgress_DocumentWidget_(iDocumentWidget *d) { | 836 | static void updateFetchProgress_DocumentWidget_(iDocumentWidget *d) { |
837 | iLabelWidget *prog = findWidget_App("document.progress"); | 837 | iLabelWidget *prog = findWidget_App("document.progress"); |
838 | const size_t dlSize = d->request ? bodySize_GmRequest(d->request) : 0; | 838 | const size_t dlSize = d->request ? bodySize_GmRequest(d->request) : 0; |
839 | setFlags_Widget(as_Widget(prog), hidden_WidgetFlag, dlSize < 250000); | 839 | showCollapsed_Widget(as_Widget(prog), dlSize >= 250000); |
840 | if (isVisible_Widget(prog)) { | 840 | if (isVisible_Widget(prog)) { |
841 | updateText_LabelWidget(prog, | 841 | updateText_LabelWidget(prog, |
842 | collectNewFormat_String("%s%.3f MB", | 842 | collectNewFormat_String("%s%.3f MB", |