Hi,

I got a additional question on the topic from Dave:

> The following program tries to display 2 WText widgets, one at the top of the
> browser window, one at the bottom. I use a WVBoxLayout and addStretch to try 
> and
> achieve this.

{code}
   Wt::WVBoxLayout* topLayout = new Wt::WVBoxLayout(this->root());

   Wt::WStackedWidget* topLevelStack = new Wt::WStackedWidget();
   topLevelStack->setOverflow(Wt::WStackedWidget::OverflowAuto);
   topLevelStack->setPositionScheme(Wt::Relative);
   topLevelStack->setStyleClass("contents");

   topLayout->addWidget(topLevelStack);

   Wt::WContainerWidget* problemWContainerWidget = new Wt::WContainerWidget();
   Wt::WVBoxLayout* problemWVBoxLayout           = new Wt::WVBoxLayout;
   problemWVBoxLayout->addWidget(new Wt::WText("top_line"), 0, Wt::AlignTop);
   problemWVBoxLayout->addStretch(1);
   problemWVBoxLayout->addWidget(new Wt::WText("bottom_line"), 0, Wt::AlignTop);

   problemWContainerWidget->setLayout(problemWVBoxLayout);
   topLevelStack->addWidget(problemWContainerWidget);
{code}

When I run this in Internet Explorer (8) with a very small window size
then the WText widgets are getting clipped (FF just works fine).
How to modify this code to run properly in internet explorer?

Im using WT 3.1.10

- Marco

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to