Threaded View
-
4 Dec 2012 10:08 AM #1
FieldSet in Viewport (bottom/right margins different than left/top, even though same)
FieldSet in Viewport (bottom/right margins different than left/top, even though same)
GXT 3.0.3-SNAPSHOT 11/27 (but existed in 3.0.2 as well)
GWT 2.4.0
Windows 7 - 64 bit
Internet Explorer 8
Chrome 25
I had a FieldSet as the child of the ViewPort, and the margins used for top and left are different than the margins for bottom and right. The same behavior exists for ContentPanel, and the issue seems to happen in both IE8 and Chrome.
I would expect the margins to be the same all away around. If I didn't give margins, I wouldn't be able to see the bottom or right border at all.
Code:Viewport viewport = new Viewport(); /* have to use a margin to be able to see the right and bottom borders, and margins are not uniform*/ viewport.add(asWidget(), new MarginData(20); RootPanel.get().add(viewport);
ViewPortFieldSetMargins.zipLast edited by nbuesing; 4 Dec 2012 at 10:13 AM. Reason: trying to fix attachments, forum messed up content.
Looks like we can't reproduce the issue or there's a problem in the test case provided.


Reply With Quote