Just for reference Qt is using the following: ---------8<--------- background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0.0 #ff0000, stop: 0.5 #00ff00, stop: 1.0 #0000ff); ---------8<---------
Tom Patrick Mueller schrieb: > WebKit now supports gradients as well: > > http://webkit.org/blog/175/introducing-css-gradients/ > > Some of the WebKit devs are also w3c css standards authors, so if you > had to bet on a syntax that will likely be standard some day .... > > On May 27, 2009, at 7:49 PM, Kevin McGuire wrote: > >> >> The CSS support now supports gradients (yeah!). >> For CTabFolder, it uses the CTabFolder specific gradient support. >> For other widgets, it draws the gradient. >> >> A few notes: >> >> 1) The original TK-UI project favors the syntax: >> background-color: gradient, >> rgb(140,140,140), >> rgb(48,48,48), >> 100%; >> >> But the CSS support is quite happy to not need the word "gradient" and >> to not need the commas. The syntax above does work too though. TBD. >> >> 2) It's legal to not specify any percents for the gradient ranges, in >> which case default ranges are calculated based on equidistance between >> the colors. >> > > Patrick Mueller - http://muellerware.org/ > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > e4-dev mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/e4-dev _______________________________________________ e4-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/e4-dev
