Wt examples
3.2.3
|
00001 /* 00002 * Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium. 00003 * 00004 * See the LICENSE file for terms of use. 00005 */ 00006 00007 #include <Wt/WContainerWidget> 00008 00009 #include "Label.h" 00010 00011 Label::Label(const WString& text, WContainerWidget *parent) 00012 : WText(text, parent) 00013 { 00014 setStyleClass(L"label"); 00015 parent->setContentAlignment(AlignRight); 00016 }