Skip to main content
Skip table of contents

Float Widget

Definition

The Float Widgets allows to configure the display of decimal attributes.

Configuration

Properties

Properties name

Type

Mandatory

Description

Values (default value in bold)

backgroundColor

String

NO

Defines the displayed background color.

Standard CSS color value, #ffffff

bold

Boolean

NO

Defines if the value is displayed in bold or not.

true, false

fontSize

Enum

NO

Defines the displayed size.

INHERIT, XX_SMALL, X_SMALL, SMALL, MEDIUM, LARGE, X_LARGE, XX_LARGE

italic

Boolean

NO

Defines if the value is displayed in italic or not.

true, false

textAlign

Enum

NO

Defines the displayed text alignment.

LEFT, CENTER, RIGHT

textColor

String

NO

Defines the displayed text color.

Standard CSS color value, #000000

underline

Boolean

NO

Defines if the value is underlined or not.

true, false

decimal

Integer

NO

Defines the decimals to display.

2

Example

XML
<widget id="decimalnumber" xsi:type="ctdbum:AttributeEditorWidgetType">
	<hidden>false</hidden>
    <config>
    	<editor>
        	<displayWidget xsi:type="ctdbum:FloatDisplayWidgetType">
            	<hidden>false</hidden>
                <config>
                	<backgroundColor>#ffffff</backgroundColor>
                    <bold>false</bold>
                    <fontSize>INHERIT</fontSize>
                    <italic>false</italic>
                    <textAlign>LEFT</textAlign>
                    <textColor>#000000</textColor>
                    <underline>false</underline>
                    <decimal>2</decimal>
				</config>
			</displayWidget>
		</editor>
        <label></label>
        <lockedInUi>false</lockedInUi>
        <mode>READ</mode>
        <multiValued>false</multiValued>
        <override>false</override>
	</config>
    <attributeId>decimalnumber</attributeId>
</widget>

Read Next

  • Features

    Design screens and business features to manage objects.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.