Document Information

Last modified:
2011/02/22 12:31 (external edit)

This is documentation for qooxdoo 0.8.x only. You might be interested in consulting the latest docs.

Label

The Label widget is used to display either plain text or rich text with HTML markup.

Preview Image

:documentation:0.8:widget:label.jpg

Features

  • Auto sizing
  • Ellipsis: If the label does not fit into the widget bounds an ellipsis ("…") is rendered at the end of the label. (Only in text mode)
  • "height for width": If the widget's width is too small to display the text in one line the text is wrapped and a new size hint is calculated. (Only in HTML mode)
  • Configurable fonts, text colors and text alignment

Description

The Label supports two different modes. The text and the HTML mode. The mode can be set by using the rich property. Which mode to use depends on the required features. If possible the text mode should be preferred because in this mode the text size calculation is faster.

Demos

Here are some links that demonstrate the usage of the widget:

API

Here is a link to the API of the Widget:
qx.ui.basic.Label

Information

Last modified:
2011/02/22 12:31 (external edit)

Account

 
 
A book on qooxdoo RIAs, authored  by community members
JS Tutorial, JavaScript Tutorial, JavaScript Guide, Learn JavaScript JS, How To Learn JS, Learning JavaScript
 

Bad Behavior has blocked 0 potential spam attempts in the last 7 days.