Opened 11 years ago
Last modified 9 years ago
#4090 new defect
Style arrows
Reported by: | manuq | Owned by: | erikos |
---|---|---|---|
Priority: | Normal | Milestone: | Unspecified |
Component: | Sugar | Version: | Unspecified |
Severity: | Unspecified | Keywords: | theme |
Cc: | Distribution/OS: | Unspecified | |
Bug Status: | Unconfirmed |
Description
Our arrows have regressed in the port to GTK+3. See comparison:
This can't be done just with CSS. This is a special case that needs a new engine
written in C, that reimplements gtk-render-arrow of GtkStyleContext. The new engine can inherit only this code and nothing else, so we are safe doing it.
Reference: http://developer.gnome.org/gtk3/3.0/GtkThemingEngine.html
After that we can style in the CSS with this rules:
* { engine: sugar; } .arrow { color: #f00; } * { -GtkArrow-arrow-size: 1.0; -GtkWidget-scroll-arrow-hlength: 11; -GtkWidget-scroll-arrow-vlength: 11; -GtkMenu-scroll-arrow-vlength: 19; }
Change History (3)
comment:1 Changed 10 years ago by dnarvaez
- Component changed from sugar-artwork to Sugar
- Owner changed from manuq to erikos
comment:2 Changed 10 years ago by dnarvaez
- Milestone changed from 1.0 to Unspecified
comment:3 Changed 9 years ago by walter
- Priority changed from Unspecified by Maintainer to Normal
Note: See
TracTickets for help on using
tickets.