Query: can widget visibility be improved when using dark GUI colours? [GUI Theming] #1293
Replies: 5 comments 9 replies
-
...yeah, this is basically the same situation, that spawn the need for configurable font color ... unfortunately speaking, I'd erroneously thought the 'dot' in radioboxes and 'tick' in checkboxes, would inherit the value of font color ; my bad ;^/ I cannot see anywhere in libguisan/sdl that allows for color selection of these widget characters ...I very easily could've missed something along the way, but what I do note is a 'technical misnomer'....ie; widget background color is set to colTextboxBackground as exposed by gui_theme_textbox_background Apparently, the problem I have with that is these are widgets, not textboxs, and something like colWidgetBackground should exist, as exposed by a hypothetical gui_theme_widget_background variable .... that would be more 'correct' as it were. However .. the background color isn't really the crux problem ~ it's the fact the 'dot' & 'tick' are always rendered black ... footnote: the little arrows on dropdown selectors aren't really a problem, as it's (visually) evident when a dropdown menu is active or not, and the current selection is clearly displayed... as these are textboxs and font color applies.. |
Beta Was this translation helpful? Give feedback.
-
...and yes, I did notice the Savestate panel looks like this... This is because those radiobuttons do not have colTextboxBackground set (somehow they got missed) That should actually be fixed for sake of consistency, but as it's part of this same entanglement, it's discussion .. not a bug ;) |
Beta Was this translation helpful? Give feedback.
-
If you're after consistency of widgets across the GUI, then the following checkboxes need attention... Paths panel...(logging checkboxes) Display panel... (Manual crop checkbox) WHDLoad panel ... (Slave Libraries checkbox) Once those are addressed, widget colors are consistent across all GUI panels ;) |
Beta Was this translation helpful? Give feedback.
-
@midwan ~ thanks for all these small fixups ; fwiw, these commits have formed a set of 'instructional examples' for me, to better understand how libguisan works, and how amiberry implements it.... I may not be able to code, but I can read ;)... glimpse is my long time weapon of choice... The commit above (eed7f28) demonstrated to me that if
Armed with these observations, I loaded a dark theme into xfce4 WM (darkened window title bar, window title font in white), and set about creating a very dark amiberry GUI theme ... it looks like this; M'kay, edit Huzzah! So it is possible, without contemplating the horrowshow task of having to edit every piece of widget code in the GUI, because in my testing here, this can apply 'globally' to the amiberry GUI...if you want so see for yourself, here's the color settings used for the above examples (try it without/with the libguisan edit above for full effect =) ;
Obviously it adds a white border around current panel selection button, but that's not necessarily a bad thing, however it does also make the dropdown menu arrow widgets visible as well. This has the effect of visually balancing those panels, that have white background slider widgets....ie; that looks a little garish with black widget foreground, however panel looks ok with white widget foreground with white slider background (when active). In winuae you have a 'dark mode' widget in the GUI ~ it wouldn't be too far out of step, for amiberry.conf to have an analog setting of ..ie; As this is only impacting widgets and things that should be seen in the darkness, I think a choice between black/white is really all that's required here, personally speaking (like the various dark themes for xfce4, most simply toggle what was black, to white... like window titlebar text). Is it at all possible to implement this option in amiberry? TIA |
Beta Was this translation helpful? Give feedback.
-
Excellent! I believe this wraps up all the lose ends wrt GUI theming once and for all =) Closing as fixed by various commits here-above. |
Beta Was this translation helpful? Give feedback.
-
When using dark colored GUI themes, things can end up looking like this ;
The shading works well wrt what options are active/unavailable, however it's really hard to see which options are selected.
Same image again, with widget color changed to white;
I do not know if the color of widgets can be changed ~ I chose to example white ..ie; simple color invert... because that would seem to me to be the quick easy fix, and stands apart from font color....I kinda like that look ;)
Or assign a color to widget background?...(white again in example, but might be user configurable);
Is there anything along these lines that can be done to improve selection widget visibility?
TIA
(amiberry.conf color settings used above)
Beta Was this translation helpful? Give feedback.
All reactions