class webfwt::WebText

sys::Obj
  fwt::Widget
    fwt::TextWidget
      fwt::Text
        webfwt::WebText

@Js

Source

WebText extends Text with additional functionality.

disabledStyle

[Str:Str]? disabledStyle := null

Source

Override disabled style. Defaults to null.

dropShadow

Shadow? dropShadow := null

Source

Drop shadow, or null for none.

halignImage

Halign halignImage := Halign.right

Source

Halign of image. Supoported values: left and right.

image

Image? image := null

Source

Image to display inside widget, or null for none.

innerShadow

Shadow? innerShadow := null

Source

Inner shadow, or null for none.

insets

Insets? insets := null

Source

Insets between text and border, or null for default.

make

new make(|This|? f := null)

Source

Constructor.

placeHolder

Str? placeHolder := null

Source

Placeholder text to display in text field if empty.

placeHolderColor

Color? placeHolderColor := null

Source

Placeholder text color, or null for default.

prefSize

virtual override Size prefSize(Hints hints := Hints.defVal)

Source

style

[Str:Str]? style := null

Source

Override style. Defaults to null.

textBorder

Border? textBorder := null

Source

Border for text field, or null for default.