Wt examples  4.11.1
Loading...
Searching...
No Matches
Label Class Reference

A label. More...

#include <Label.h>

Inheritance diagram for Label:
[legend]

Public Member Functions

 Label (const WString &text, WContainerWidget *parent)

Detailed Description

A label.

A label is a WText that is styled as "label", and aligned to the right in its parent.

Definition at line 24 of file Label.h.

Constructor & Destructor Documentation

◆ Label()

Label::Label ( const WString & text,
WContainerWidget * parent )

Definition at line 11 of file Label.C.

12 : WText(text)
13{
14 setStyleClass(L"label");
15 parent->setContentAlignment(AlignmentFlag::Right);
16}

The documentation for this class was generated from the following files: