Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 181203 Details for
Bug 328158
[ListItem] Support gradient (CSS background-image property) for ListItem
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
proposed patch with example (for the 1.3 Maintenance branch)
328158_1.3_Maintenance.patch (text/plain), 2.93 KB, created by
Istvan Ballok
on 2010-10-19 13:03:40 EDT
(
hide
)
Description:
proposed patch with example (for the 1.3 Maintenance branch)
Filename:
MIME Type:
Creator:
Istvan Ballok
Created:
2010-10-19 13:03:40 EDT
Size:
2.93 KB
patch
obsolete
>commit 0a470d49c3b8e2da78abb11612ad1443786fbc9f >tree b03c1ec2e4262256e77b924c434e1e3570a39eb9 >parent e4f4d008e0a5ad1ec9c36816e2be8693804f1969 >author Istvan Ballok <Istvan.Ballok@cas.de> 1287507485 +0200 >committer Istvan Ballok <Istvan.Ballok@cas.de> 1287507485 +0200 > > simple example for setting a gradient background for the ListItem > >diff --git a/runtime.ui/org.eclipse.rap.demo/plugin.xml b/runtime.ui/org.eclipse.rap.demo/plugin.xml >index d295893..e01c269 100644 >--- a/runtime.ui/org.eclipse.rap.demo/plugin.xml >+++ b/runtime.ui/org.eclipse.rap.demo/plugin.xml >@@ -8,7 +8,7 @@ > <theme > id="org.eclipse.rap.demo.alttheme" > name="Alternative Demo Theme" >- file="theme1/theme.css"/> >+ file="theme1/listItemGradient.css"/> > </extension> > > <extension >diff --git a/runtime.ui/org.eclipse.rap.demo/theme1/listItemGradient.css b/runtime.ui/org.eclipse.rap.demo/theme1/listItemGradient.css >new file mode 100755 >index 0000000..a63e335 >--- /dev/null >+++ b/runtime.ui/org.eclipse.rap.demo/theme1/listItemGradient.css >@@ -0,0 +1,3 @@ >+List-Item:selected { >+ background-image: gradient(linear, left top, left bottom, from(#83ACDF), to(#608CCA) ); >+} > >commit e4f4d008e0a5ad1ec9c36816e2be8693804f1969 >tree df01ceefdb641778258fb23c2d78785fb5b649df >parent b5c2e68a29e3f128ce1b90a4ad7fb46c4e6a8ce9 >author Istvan Ballok <Istvan.Ballok@cas.de> 1287507350 +0200 >committer Istvan Ballok <Istvan.Ballok@cas.de> 1287507350 +0200 > > 328158: support gradient for list-item > >diff --git a/runtime.rwt/org.eclipse.rap.rwt.q07/js/org/eclipse/swt/theme/AppearancesBase.js b/runtime.rwt/org.eclipse.rap.rwt.q07/js/org/eclipse/swt/theme/AppearancesBase.js >index 276c1ae..7bd5d8e 100644 >--- a/runtime.rwt/org.eclipse.rap.rwt.q07/js/org/eclipse/swt/theme/AppearancesBase.js >+++ b/runtime.rwt/org.eclipse.rap.rwt.q07/js/org/eclipse/swt/theme/AppearancesBase.js >@@ -655,6 +655,8 @@ qx.Theme.define( "org.eclipse.swt.theme.AppearancesBase", > }; > result.textColor = tv.getCssColor( "List-Item", "color" ); > result.backgroundColor = tv.getCssColor( "List-Item", "background-color" ); >+ result.backgroundImage = tv.getCssImage( "List-Item", "background-image" ); >+ result.backgroundGradient = tv.getCssGradient( "List-Item", "background-image" ); > return result; > } > }, >diff --git a/runtime.rwt/org.eclipse.rap.rwt/src/org/eclipse/swt/internal/widgets/listkit/List.theme.xml b/runtime.rwt/org.eclipse.rap.rwt/src/org/eclipse/swt/internal/widgets/listkit/List.theme.xml >index 31497a5..48450be 100644 >--- a/runtime.rwt/org.eclipse.rap.rwt/src/org/eclipse/swt/internal/widgets/listkit/List.theme.xml >+++ b/runtime.rwt/org.eclipse.rap.rwt/src/org/eclipse/swt/internal/widgets/listkit/List.theme.xml >@@ -40,6 +40,8 @@ > <property name="color" > description="Text color for list items." /> > >+ <property name="background-image" /> >+ > <property name="background-color" > description="Background color for list items." /> >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
ivan
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 328158
: 181203