06-17-2020, 10:32 PM
Thread Rating:
Stylizing GtkNotebook Tabs in Theme (gtkrc)
|
They look as intended. I see that you have even enabled the menu icons on the first image. Unless you loaded a different theme without restarting Gimp (menu icons will go away when you restart Gimp).
If you want to permanently enable the menu icons for a theme, edit its gtkrc file and replace 0 with 1 in the the following line: gtk-menu-images = 0 Thanks again for the feedback Zero01!
Gimp & Stuff: https://www.deviantart.com/migf1
06-18-2020, 12:22 PM
(06-17-2020, 09:03 PM)migf1 Wrote: Ok guys, here it is. I am attaching a zip file, containing the regular and the small variants of the Dark (Blue Hint) theme just install, working good, looking good. Thank you! I "hacked" gtkrc file from your Clearlooks Dark (Blue Hints) RC1.1 theme, i adjusted [gtk-font-name = "Sans 7"]; [font_name = "Sans 8"]; [GimpDock::font-scale = 1]; [GimpRuler::font-scale = 0.8444]. Is there any way to unbold the text under Tool Options dockable dialog (ex. Feather edges text, Rounded corners text under Rectangle Select appears to be bolded, see image for a better exemplification)?
Hello fireflyyyyyy, thank you for the feedback!
I'm glad you adjusted it to your needs, that's the point. I have put lots of comments in the gtkrc, hoping it will be a little easier for users to customize them. Btw, did you test on Windows or Linux? For the boldness of those check-buttons, it is not my doing (not purposely anyway). I did a quick test, removing temporarily all the widget bindings from my gtkrc file, and the boldness remained. Then I did another quick test, temporarily renaming the gtkrc file, so that Gimp starts with its default fallback theme. The boldness was still there. I noticed that the ONLY check-boxes whose text appears bold, are those that reveal a slider once you get them enabled. This, along with the quick tests I mention above, makes me think this boldness may be hard-coded into Gimp's sources code. EDIT: Code: style "test" { But I will do so more testing & research, just in case.
Gimp & Stuff: https://www.deviantart.com/migf1
Hi again fireflyyyyyy,
sadly I don't seem to be able to fix text boldness specifically for those check-boxes. If you do not mind loosing text boldness EVERYWHERE inside any GimpFrame widget, add the following line inside the default style: Code: style "default" I found that the specific check-boxes you want to change, can be targeted with this binding: widget_class "*.<GimpFrame>*<GtkToggleButton>*<GtkLabel>" However, making a style specifically for them and putting GimpFrame::label-bold = 0 in it, does NOT work. Try for example: Code: style "test" { and you will see that those specific check-boxes turn their text red when enabled (so, fg[ACTIVE] works), but their boldness does NOT go away (so, GimpFrame::label-bold = 0 does NOT work). Btw, font_name = "regular" and font_name = "normal" do not seem to be able to negate already existed boldness. I hope someone can come up with a solution to your request, so I can implement it. Tbh, personally I like the fact that text boldness differentiates check-boxes that reveal sliders when enabled, form the plain ones.
Gimp & Stuff: https://www.deviantart.com/migf1
Hi folks, I'm attaching a new zip-file here, because the forum does not let me edit my previous post anymore. The previous zip contained version RC1.1 of just the Dark Blue themes (link: https://www.gimp-forum.net/Thread-Styliz...5#pid18755). It also shows a screenshot of the Dark Small theme.
The zip attached in this post contains version RC1.2 of both Dark Blue and Light Blue themes (each including a regular and a small version). Clearlooks_Gimp_2.10.1x_Hinted_Themes_RC1.2.zip (Size: 251.42 KB / Downloads: 177) I rewrote a few parts especially for the Light theme. Here is how the Light SMALL Blue theme looks, on Windows, with 24" monitor, set @Full HD resolution. The main difference between RC1.1 and RC1.2 is mostly housekeeping of the gtkrc file (more comments, some additional styles, bindings, etc). There are some minor visual changes too (for example, the tree expander arrows are now color-hinted, though they are not consistent between dialogs and lists). The behavior of Dark and Light themes are slightly different. A few elements are highlighted a little differently (like the spin-buttons for example) because directly translating from the Dark theme wasn't emphasizing things the way I wanted. Also, since these Light themes are supposed to be used with the Symbolic-Inverted icons (which are black), the highlight color is lighter compared to the dark themes (the dark themes are supposed to be used with the Symbolic icons, which are white). I think I'm done with these for now. There are a few inconsistencies, but all in all I'm quite happy with the themes. I'll probably revisit the themes for an update at a later time. Feedback is always welcome, but most probably I'll release all the themes in the next couple of days, max. Until then, feel free to post here any fixes/suggestions you may have (if they are biggies, I'll try to add them on time).
Gimp & Stuff: https://www.deviantart.com/migf1
All right guys, all 20 variations of the themes are ready. You can get them from my DeviantArt.
The check/radio marks in the Dark themes are now color-hinted too, just like they were in the Light themes since RC1. Also, tiny icons like the selection-modes are now more spacey. I don't remember what else I improved (LOL). I'd like to thank everyone who participated in this topic!
Gimp & Stuff: https://www.deviantart.com/migf1
06-25-2020, 02:33 PM
(06-21-2020, 10:17 PM)migf1 Wrote: All right guys, all 20 variations of the themes are ready. You can get them from my DeviantArt. Hi @migf1, This looked interesting and I thought I'd give it a try. I'm running Arch Linux BTW. Here are a couple of things I ran into. Concerning GTK2 installation for Linux. Quote:5. Copy the libclearlooks.so file into the following folder: The path you reference in line item 5. is not part of my installation. I wish I was up on the finer points of GTK2 on Linux to explain this, but here is the file list of what is installed on my system. That aside, I went ahead and installed the gtk2-engines package. The theme looks very nice and "mostly" works, but I am not getting the tab highlights for either the image or the tool panel tabs. I haven't read this entire thread and maybe this problem has been mentioned before, so I'll sift through and see if I can find out why. Regardless, I appreciate your work on this and consider this an improvement for usability over the stock theme. Cheers!
Hello @akovia,
thank you very much for the feedback! The missing tabs-highlights is a sign that the Clearlooks them-engine is not used. From the screenshot I would say that the theme is rendered with the the pixmap theme-engine (which is the engine used by the default themes). On another forum I just had another linux user having the same problem, but on Ubuntu ( http://gimpchat.com/viewtopic.php?f=12&t...68#p252562 ). In his case, tabs are rendered white. On that forum, an MX Linux user reported that the themes runs fine ( http://gimpchat.com/viewtopic.php?f=12&t...68#p252558 ). Please do NOT worry about the libclearlooks.so file, I mentioned above (and in the Readme.txt file). Apparently, the structure of Gimp's directory tree differs between Windows and Lunix (maybe even the code itself treats Windows and Linux differently, i don't know). So even if you manage to find that .so file (or compile it yourself from sources) I really do not know where you should copy it on Linux. All in all, this is bad news. Mostly because I don't have access to any distro of Linux, in which case I would investigate myself. In theory, having the GTK2 runtime and the gtk2-engines package installed on teh system should be enough. I really do not know what is going on. Even more, why it works fine on MX Linux, and not on Ubuntu and Arch.
Gimp & Stuff: https://www.deviantart.com/migf1
06-25-2020, 03:26 PM
@migf1
No worries. I did a little investigating and it makes a bit more sense now. The libclearlooks.so file is not under gimp, but under gtk2 where it should be in Linux. /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so If I remove the gtk2-engines package, the theme mostly looks the same, but now that blue accent that borders the left side of the menus is gone, so something in the gtk2-engines package was being used by the theme. If I figure out anything relevant I'll be sure to post back. |
« Next Oldest | Next Newest »
|