Hi, Currently Dillo uses a fixed color (black) for the widget selection color, which includes checkmarks and radio buttons. When using a dark color scheme, these selections can be invisible or hard to see. Instead, use the foreground color from dillorc to ensure visibility.
Patch is attached. Also, I put up a little blog post with some other Dillo patches, hopefully someone here will find it interesting! I welcome any feedback. https://alex.envs.net/blog/dillo Regards, Alex
>From 323accb8f08376d4300e47c80e76fb3c80b55cf7 Mon Sep 17 00:00:00 2001 From: Alex <[email protected]> Date: Fri, 20 Feb 2026 12:33:25 +0000 Subject: [PATCH] Use FL_FOREGROUND_COLOR for widget selection color Currently Dillo uses a fixed color (black) for the widget selection color, which includes checkmarks and radio buttons. When using a dark color scheme, these selections can be invisible or hard to see. Instead, use the foreground color from dillorc to ensure visibility. --- dw/fltkui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dw/fltkui.cc b/dw/fltkui.cc index d1719509..66bca1da 100644 --- a/dw/fltkui.cc +++ b/dw/fltkui.cc @@ -1173,7 +1173,7 @@ void FltkToggleButtonResource<I>::setWidgetStyle (Fl_Widget *widget, { FltkResource::setWidgetStyle(widget, style); - widget->selection_color(FL_BLACK); + widget->selection_color(FL_FOREGROUND_COLOR); } -- 2.51.0
_______________________________________________ Dillo-dev mailing list -- [email protected] To unsubscribe send an email to [email protected]
