fixes to layout to be pixel exact

This commit is contained in:
Peter Schojer
2008-07-01 09:37:42 +00:00
parent dcc35155fc
commit 0d34d4b64f
6 changed files with 58 additions and 39 deletions

View File

@@ -1472,7 +1472,7 @@ void ExtJSTest::testHorizontalLayout()
Page::Ptr ptr = new Page("test");
webApp.setCurrentPage(ptr);
HorizontalLayout::Ptr pHor(new HorizontalLayout(10));
HorizontalLayout::Ptr pHor(new HorizontalLayout(1));
pHor->add(new Button("b1", "But1"));
pHor->add(new Button("b2", "But2"));
pHor->add(new Button("b3", "But3"));