Hi,
is it possible to remove space from the left and right in the parent
container in WBoxLayout? I haven't been able to make so. There is still
space on left and right in the following example:
resize(980, Wt::WLength::Auto);
setMargin(0, Wt::All);
setPadding(0, Wt::All);
Wt::WContainerWidget *content = new Wt::WContainerWidget(this);
content->setMargin(0, Wt::All);
content->setMargin(12, Wt::Bottom);
content->setPadding(0, Wt::All);
Wt::WBoxLayout *layoutContent = new
Wt::WBoxLayout(Wt::WBoxLayout::LeftToRight);
layoutContent->setSpacing(0);
Wt::WText *text = new Wt::WText("Test");
text->setMargin(0, Wt::All);
text->setPadding(0, Wt::All);
layoutContent->addWidget(text);
content->setLayout(layoutContent, Wt::AlignTop | Wt::AlignJustify);
addWidget(content);
Tero
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest