View Full Version : FormPanel in a Window looks yuk!
gslender
27 Apr 2008, 1:29 AM
Usage of a FormPanel within a Window looks odd... you get this white-ish background where the fields are but the buttons are rendered on top of another colour background. I think a test case should exist that ensures FormPanel looks correct within a dialog/window - right now I think it looks poor (margin is also a problem but that bug/issue was raised previously)...
darrellmeyer
12 May 2008, 10:02 PM
Both Window and FormPanel have many configurable options. As always, including a code snippet can really help to see what you describing more easily.
The this code for the nested FormPanel:
FormPanel panel = new FormPanel();
panel.setBodyStyle("background: none");
panel.setBodyBorder(false);
panel.setHeaderVisible(false);
The body style line will be able to be removed in beta3 as it is now done within form panel.
gslender
13 May 2008, 12:58 AM
As always, including a code snippet can really help to see what you describing more easily.
sorry bout that.... will try to include snippets going fwd - I felt this was obvious, and didn't really need me adding a formpanel to window to say "hey this looks terrible".
The body style line will be able to be removed in beta3 as it is now done within form panel.
Can you ellaborate on this - what will be changing? a method to remove the background style?
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.