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 something?

The problem occurs when you click the drop down selection for changing 
dates.

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);
}

-- 
Archimedes B. Cortes
Application Developer - Server
Systems and Technology Group
GMA New Media Inc.
12th Floor GMA Network Complex
Timog , cor EDSA
Quezon City, 1103
+63-917-381-87-52

                 ,_
       _,..._  ,d$$ccc_
      d$$$$$$hc$$$$$$$$h.
    ,d$$$$$$$$$$$$$$$O$$$.
   ,$$$$h$$$$$FF$$$$$$$$$|
  ,d$$$$$h$$F;' `F$$;':?$'
  d$$F?$$$F'      ',c. +'
 d$$h     c$$h    $$$$'|
d$$$h    $$F'     `' ' |
$$$$$L   `',-.    ,`.  |
$$$$$$h   .'  `      | |
d$$$$$$   |        O ' `.
 $$$$$F   | O  , __. , | |
  Y$FF'      ,' '  )"  |_|
  ;"'      "'   __/    |'
 |,`.        /      ,  |
 |  |      .'`--..-'   |
 `. `       (.___,/    |
   `._,.     \   .'   |
        \     \_,'    |
   -hrr- \           /
          `.        /
            `-....-'


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to