Hi,
perhaps I missed something but I have a problem to center align an
Ext::Button.
Simplified ctor:
SampleClass::SampleClass(...) : Wt::WContainerWidget(...)
{
this->setContentAlignment(Wt::AlignCenter);
new Wt::WLabel("Foo", this);
new Wt::Ext::LineEdit(this);
new Wt::Ext::Button("Bar", this);
}
The WLabel and the Ext::LineEdit are correctly aligned in the center but the
Ext::Button stays at the left side.
Do you have any hints?
Wt version is 2.1.4.
Thanks & Regards
Peter
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest