Label

Navigation:  Widget Designer > Widgets >

Label

Previous page Return to chapter overview Next page

The Label control lets you add text labels to your user interface.

wd_widget_label

To create a Label widget choose "Widgets > Label". The mouse cursor changes to a crosshair icon, indicating the create mode. With a left-click anywhere on the empty main background window you add the selected widget to the current page. Left-click again if you like to add one more. To quit the create mode, you can switch to the run mode with [F8], where you can use all widgets. Most widgets however need to be set up first.

To edit the Label parameters simply right-click on the desired Label control and choose the menu entry "Item Properties", press [ALT+P] whilst the mouse is hovering above it or double-click on it when being in the edit / move mode ([F9]). The Label Property Dialog opens up.

wd_widget_label-properties

Name

A unique name can be entered to identify the widget via the Object and Member Notation. The default name is based on the widget type and ID.

Page

This drop-down offers all available pages to place the widget on.

ID
The Label’s ID may be changed by entering a new one in the text field top left. If you change it, you will be asked if you also want to adapt the name to the new ID.

Notes

A short note can be added here. It is not displayed outside the widget but can be set and retrieved with the WidgetID.Note property member.

Visible

Uncheck this box to hide the widget.

Fix
When the option “Fix” is checked, the Label will be displayed on every page.

Size

Enter a pixel size for the Label's size.

X and Y

Enter the location of the widget (upper left corner) in pixels

Label
Edit the Label text by entering it in the text field.

Font
Edit the Label font and the font size by clicking on the button with the current font.

To change the Label text color click in the small box on the right side.

BG
The background color is transparent by default. If you want to underlay the text with a color, uncheck “Transparent” and choose a color for the background by clicking in the small box.

Round

Check this box if you want to display floating point values with a reduced amount of digits. Enter the desired amount of digits in the field at the right.

Drag Mode

If this box is checked, the Label can be dragged around in the GUI with the mouse in Run mode.

Flash
When this option “Flash” is checked, the Label will flash (visible / not visible). The flash interval time is set to 250 ms by default. To increase or decrease the flashing interval time, change the value here or use the command WDLabelFlashInterval(ID,Value).

Auto Resize Mode

Choose here one out of three modes to correlate the widget's size and the font:

Disabled: The size of the widget is adjustable, the text will not be adjusted automatically. Text that overlaps the borders will not be displayed.

Font: The font will be adjusted automatically to the widget's size so that the text always fits in.

Control: The widget's size will follow the text, it cannot be adjusted manually except by setting the font size.

The options "Disabled" and "Font" also offer the possibility to set the text alignment within the widget to "Left", "Center" and "Right".

Display Time

Choose this option to display the local computer's time, either in the "24 Hours" or in the "AM/PM" format. An offset can also be set if necessary.

PB Timecode

If a Pandoras Box is connected, the Label can be used to display the timecode of a sequence. Specify the Sequence ID in the respective field and check "Use Backup" if you need to backup machine's timecode instead of the main machine. Please see also the dialog PB Configuration.

Variable Source
If the value of a variable should be displayed as Label text, check the option “Variable Source” and enter the name of the variable. If the variable’s value is going to be updated, the Label text will be updated as well.

If one of the options "Display Time", "PB Timecode" or "Variable Source" is checked, the Label's text will be overwritten by those values.

Web Link URL

The Web Link section is of special interest when working with the Web Server feature, i.e. clicking the Label in a web browser. Enter a URL e.g. "http://www.coolux.com" that your browser should call when executing the On Click Script.

It is also possible to achieve a quick page change with the URL, simply enter a hash tag "#" and the page name. E.g.: #Page2

On Click Script

Enter a script that will be executed when clicking on the Label. Functions and Macros are a good option to manage large and sophisticated scripts.

Network Broadcasting

The NBS (Network Broadcast Service) allows to transmit and update Faders, Labels and Custom Script Buttons across multiple WD Designers instances on the network.

To activate this service, please refer to the IP Configuration!

Enable Send
To send the labels values as broadcast into the network, you only have to check “Enable Send”.

Enable Receive
To receive values from other faders, labels or Custom Script Buttons, please check “Enable Receive”.

Now you have to specify which item should update your label:

Enter the IP address of the computer you want to listen to. This could be the local computer (to control the fader through another item on the same Widget Designer) or a different computer in the network. If you do not want to specify the computer but want to listen to all computers in the network, enter “255.255.255.255”.

As next step specify the item you want to take the values from. This could be a fader (e.g. “Fader1” or “Fader2”), a label (e.g. “Label1” or “Label2”), or a Custom Script Button (e.g. “CustomScript1” or “CustomScript2” – you will be able get its status: 1/0).

Group Values

This option is only available for the Unlimited version and offers the possibility to assign a group. Please refer to the chapter Group Values for more information.

Ui Effects & Animations

CSS based effects and animations can be applied to this widget. Please refer to the topic Effects & Animations for more information.