Hi!

I was playing around Ext::Calendar and I noticed that it's not displaying 
properly when it's on a container other than root(). How can I go around this 
problem. Is this a bug? Or am I just missing on something?

The problem occurs when you click the drop down selection of the date.

This works fine:

MyApp::MyApp(Const WEnvironment& env)
: WApplication(env)
{
    Ext::Calendar* pCalendar = new Ext::Calendar(false, root());
}

However, this one shows the problem:

MyApp::MyApp(Const WEnvironment& env)
: WApplication(env)
{
    Ext::Container* pMainContainer = new Ext::Container(root());
    WBorderLayout* pMainLayout = new WBorderLayout(pMainContainer);
...
    Ext::Container* pCenterContainer = new Ext::Container();
    pCenterContainer->setLayout(new WDefaultLayout());
    pCenterContainer->layout()->addWidget(new Ext::Calendar());
...
    pMainLayout->addWidget(pCenterContainer, WBorderLayout::Center);
}


      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to