I'd like to have an option to style separately the menu accelerator from the menu item label.
I tried to make a (poor) patch, but it has its problems :
Changing color is easy, but changing size is really ugly, since we are changing text layout without the widget knowing about it, we must adjust it manually, and we have over/under allocated space for the text.
- the patch
- A small demo (not mockup), this also uses a patch for mnemonics, but it's even more hackish and another topic...
I was hoping for an option to have smooth separators a long time ago.
I was looking into your source those days to try to understand how to make an engine myself (one day maybe).
Anyway look at the attachment to see how it looks.
It's fairly easy to draw but i don't know yet how to add an option. See the attached patch.
So, I've gone ahead and implemented an option for adding gradients to scrollbar troughs. I'm pasting the patch below -- it would be great if you would consider it for inclusion in the engine! In addition, it would be nice to get similar gradients on all other troughs too. Maybe I'll add those later.
.
The patch implements two new rc options that allow you to set the trough gradient like this:
trough_gradients = TRUE
trough_shades = {0.90, 0.975, 0.975, 1.05}
.
My patch should be applied to the latest version in Git. For reference, here's what "git show" gives me:
Currently, in dark themes, a white shadow appears in the fg of INSENSITIVE widgets. It would be nice to have the option to remove the shadow or to choose a different color.
It's not so obvious on other background.
And I checked the changelog, which reads
"2009-01-04 Andrea Cimitan <andrea.cimitan@gmail.com>
* src/cairo-support.c (murrine_draw_lightborder), (murrine_draw_glaze): Removed horizontal parameter to lightborder, this fixes spinbuttons, but could break vertical widgets, please test and report bugs if you see a misplacement of the lightborder." Does this has sth to do with the problem?
1. GtkEntry: ocurrs when toolbarstyle = 1 or 2 (non-flat), bg[NORMAL] of entry is different from the toolbar.
2. GtkSpinbutton: ocurrs when bg[NORMAL] of spinbutton is different from the widget below spinbutton, e.g. notebook, normal bg.
workarounds: align same/similar bg[NORMAL] for affected widgets.
Honestly, I don't like the current arrows, which are used in scrollbar_steppers and ComoboxButtons, as they don't look like the arrows within treeviews (I don't need a screenshot, because everybody can see this in nautilus).
Of course, most themes won't look good with another arrow style now, but new arrows will be an interesting feature.
Here you can see my idea for the new engine-option
arrowstyle = 0 # (default Clearlooks-like arrow-style)
arrowstyle = 1 # (filled triangle - the old murrine scrollbar arrow, but also for the ComboBox and MenuItems)
I couldn't find a better place to submit this so here it is. Murrine does not mean "glass artworks done by Venetian (or Muranese) glassblowers." It means glass tiles with color in them that are often laid out to create patterns on glass pieces.
http://en.wikipedia.org/wiki/Murrine
First of all thanks for your work, it's really good. My question is to enable control over the background of the progressbar that is not yet filled. In the clearlooks engine this would be bg[NORMAL] but in murrine this only controls the border color. I hope my question is clear.
Hello, it would be nice to add shadows for several widgets: buttons, frames, checkbuttons, entries, scrollbars, sliders, etc. which can make murrine look more modern.
Here's a mockup from NODOKA:
https://fedorahosted.org/nodoka/wiki/0.8.x_Brainstorm#MODERN
It is a square right now, and ignoring the roundness option.
And btw, GtkScale/slider is one of the last widgets that don't have a rounded apparence. Could you make it use roundeness option too?
- Scrollbar trough caps should have no roundness to match scrolled-window that is always squared (or at least an option for it)
- Honour scrollbar-whitin-bevel property. Currently, it's draw outside the scrolled-window, having a border on all sides (which leads to a 2px border if you use scrollbar-spacing = 0).
This is a weird feature request, because it's not really related to the Murrine engine per se.
Given your expertise in GTK engines, and your knowledge about best practices and pitfalls of engine design, it would be amazing for the community if there was a barebones cairo-based engine that just painted every widget as a simple black-and-white box. Engine-authors-to-be could, then, just take that code as a template from which to create their own engines.
What do you think?
When you use the options:
GtkRange::trough-border = 0
GtkRange::trough-under-steppers = 0
and a roundnes for scrollbars, the slider remains squared, so when it is at end of scrollbar the effect is that overdraws the borders.
Can you do sliders rounded for this case?
Also an idea, make an option for the junction of stepper and slider to make it rounded or concave etc..
Saludos.