summaryrefslogtreecommitdiff
path: root/src/ui/labelwidget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-02-26 10:26:31 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-02-26 10:26:31 +0200
commitce377bd4b703b3fb6ac8ae40b9bbd1ede2e4ca26 (patch)
treee1a5d7d506a06ba26764b0892e26b0de1875365e /src/ui/labelwidget.c
parent91a6225d8508db01574d7da2c013cb30d6a87ec8 (diff)
Visual design improvements
URL input field has a maximum width. Adjusted navbar appearance and margins. Tuned UI palette and added UI accent color preference.
Diffstat (limited to 'src/ui/labelwidget.c')
-rw-r--r--src/ui/labelwidget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/labelwidget.c b/src/ui/labelwidget.c
index 1b16a028..8cba2d00 100644
--- a/src/ui/labelwidget.c
+++ b/src/ui/labelwidget.c
@@ -227,7 +227,8 @@ static void draw_LabelWidget_(const iLabelWidget *d) {
227 bottomRight_Rect(frameRect), bottomLeft_Rect(frameRect) 227 bottomRight_Rect(frameRect), bottomLeft_Rect(frameRect)
228 }; 228 };
229 drawLines_Paint(&p, points + 2, 3, frame2); 229 drawLines_Paint(&p, points + 2, 3, frame2);
230 drawLines_Paint(&p, points, 3, frame); 230 drawLines_Paint(
231 &p, points, !isHover_Widget(w) && flags & noTopFrame_WidgetFlag ? 2 : 3, frame);
231 } 232 }
232 } 233 }
233 setClip_Paint(&p, rect); 234 setClip_Paint(&p, rect);