Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




RWT Theming Reference > Text


Single-line and multi-line text widgets

Available CSS Properties

Properties that can be defined for this element:

  • background-color : color definition

    Background color

  • border : border definition

    Border for text fields. Also used for spinner widget.

  • color : color definition

    Text color

  • font : font definition

    Text font

  • padding : box dimension

    Padding for single-line text fields. Also used for spinner.

Applicable SWT Styles

SWT style flags that can be referred to in a selector for this element (as CSS attributes):

  • [BORDER]

    Style constant for bordered behavior.

  • [MULTI]

    Style constant for multy line text area behavior.

  • [SINGLE]

    Style constant for single line text field behavior.

Applicable States

Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):

  • :disabled

    Applies to disabled Texts.

  • :read-only

    Applies to text fields in read-only mode.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire