Ticket #466 (closed enhancement: fixed)

Opened 8 months ago

Last modified 8 months ago

enhanced gradient macro

Reported by: FND Owned by: FND
Priority: minor Milestone: 2.3.1
Component: core Version:
Severity: trivial Keywords:
Cc:

Description

The attached patch adds a snap parameter to the gradient macro, essentially allowing the creation of two separate gradient bars, e.g.

<<gradient vert #5b5b5b #3e3e3e snap:#2c2c2c #050505>>

(code courtesy of Jeremy, slightly modified for consistency)

Attachments

ticket466.patch (2.3 kB) - added by MartinBudden 8 months ago.

Change History

Changed 8 months ago by FND

  • owner changed from JeremyRuston to FND
  • status changed from new to assigned

Changed 8 months ago by MartinBudden

Changed 8 months ago by MartinBudden

  • milestone set to 2.3.1

Original patch contained some minor regressions in code. Current patch fixes this.

Changed 8 months ago by JeremyRuston

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in changeset:3533

By the way, the original motivation for this code was to be able to do Vista-style, lickable gradients.

Note: See TracTickets for help on using tickets.