Layout issue in Internet Explorer 8 in wt 3.1.11
Added by dima s about 13 years ago
Hi,
I have an issue with displaying widgets in nested layouts in Internet Explorer 8 (didn't try other versions). Here is the part of sample code which worked fine in previous versions of wt:
...
Wt::WVBoxLayout* pVBLayout = new Wt::WVBoxLayout();
this->setLayout( pVBLayout );
Wt::WContainerWidget* pContainer = new Wt::WContainerWidget();
Wt::WGridLayout* pGridLayout = new Wt::WGridLayout();
Wt::WGroupBox* pGroupBox = new Wt::WGroupBox();
pGroupBox->setLayout( pGridLayout );
pGroupBox->setTitle( Wt::WString( "Panel" ) );
m_pCheck1->setText( Wt::WString( "Checkbox1" ) );
m_pCheck2->setText( Wt::WString( "Checkbox2" ) );
m_pCheck3->setText( Wt::WString( "Checkbox3" ) );
pGridLayout->addWidget( m_pCheck1, 0, 0, 0, 0, Wt::AlignLeft | Wt::AlignTop );
pGridLayout->addWidget( m_pCheck2, 1, 0, 0, 0, Wt::AlignLeft | Wt::AlignTop );
pGridLayout->addWidget( m_pCheck3, 2, 0, 0, 0, Wt::AlignLeft | Wt::AlignTop );
m_pCheck4->setText( Wt::WString( "Checkbox4" ) );
m_pCheck5->setText( Wt::WString( "Checkbox5" ) );
pGridLayout->addWidget( m_pCheck4, 0, 1, 0, 0, Wt::AlignLeft | Wt::AlignTop );
pGridLayout->addWidget( m_pCheck5, 1, 1, 0, 0, Wt::AlignLeft | Wt::AlignTop );
pVBLayout->addWidget( pGroupBox, 1 );
...
Also included screenshot (nestedlayouts.png). Can you please provide any workaround or fix I should add to wt sources.
Regards,
dima
nestedlayouts.png (3.59 KB) nestedlayouts.png |
Replies (4)
RE: Layout issue in Internet Explorer 8 in wt 3.1.11 - Added by Koen Deforche about 13 years ago
Hey Dima,
There's got to be something more to it, that makes this not work for you on IE8.
The attached test case works fine, could you see what else could be involved and modify the test case so that it fails ?
Regards,
koen
test212.cc (1.89 KB) test212.cc |
RE: Layout issue in Internet Explorer 8 in wt 3.1.11 - Added by dima s about 13 years ago
Hi Koen,
Excuse me for not investigating the issue within a clean application. I included modified test case which reflects layout structure in my application and reproduces the issue.
Regards,
dima
test212.cc (3.18 KB) test212.cc |
RE: Layout issue in Internet Explorer 8 in wt 3.1.11 - Added by Koen Deforche about 13 years ago
Hey Dima,
I could reproduce your problem in 3.1.11, but cannot reproduce this with git HEAD.
So you could either upgrade to git head, or bisect for the relevant patch ?
We plan a 3.1.12 (or 3.2.0, I am still deciding...) release sometime in the next weeks.
Regards,
koen
RE: Layout issue in Internet Explorer 8 in wt 3.1.11 - Added by dima s about 13 years ago
Hi Koen,
Yes, I've already upgraded to git, thanks for the fix.
Regards,
dima