A label. More...
#include <Label.h>
Inherits Wt::WText.
Public Member Functions | |
Label (const WString &text, WContainerWidget *parent) |
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.
Label::Label | ( | const WString & | text, | |
WContainerWidget * | parent | |||
) |
Definition at line 11 of file Label.C.
00012 : WText(text, parent) 00013 { 00014 setStyleClass(L"label"); 00015 parent->setContentAlignment(AlignRight); 00016 }