Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "E4/CSS/SWT Mapping"

< E4‎ | CSS
Line 7: Line 7:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td>row 1, cell 1</td>
+
<td>control</td>
<td>row 1, cell 2</td>
+
<td>setBackground(Color)</td>
 +
<td>background-color</td>
 +
<td>Button { background-color: #FF0000 }</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td>row 2, cell 1</td>
+
<td>control</td>
<td>row 2, cell 2</td>
+
<td>setBackgroundImage(Image)</td>
 +
<td>background-image</td>
 +
<td>Button { background-image: <i>some url</i> }</td>
 
</tr>
 
</tr>
 
</table>
 
</table>

Revision as of 14:30, 25 February 2009

SWT Widgets SWT Method CSS Property Name CSS Example
control setBackground(Color) background-color Button { background-color: #FF0000 }
control setBackgroundImage(Image) background-image Button { background-image: some url }

Back to the top