Re: Style issues with VerticalPanel vs FlowPanel

2008-12-06 Thread David H. Cook
Ok, finally solved it. I had my own project-specific .CSS file with default values for about every html element that exists! Removing it didn't help...some other default values (that Google supplies?) were still in effect. But, the fix was to go into my proj-specific .CSS and make all table- el

Re: Style issues with VerticalPanel vs FlowPanel

2008-12-06 Thread David H. Cook
Damn, I spoke too soon. The code compiles cleanly, but doesn't have any visual effect at all. [The cellsize parameter is a string, so I'm using stuff like "10px" or "50px", right?] Tried making cellsize BIGGER...no effect. Smaller, no effect. [Something else must be in charge...the fontsize o

Re: Style issues with VerticalPanel vs FlowPanel

2008-12-06 Thread David H. Cook
Gregor - Thanks for the confirmation! (I finally deduced as much, after posting, that while one can set border size once before or after creating the VP, but that one must set the CellHeight for EACH cell since each cell could even contain a different widget type...hence the widget-arg.) And, I

Re: Style issues with VerticalPanel vs FlowPanel

2008-12-06 Thread gregor
Hi Dave, you could: a) allocate your anchors to the VP in a method that calls the required Vp setCellHeight(widget,height) method conveniently, e.g.: private void addAnchor(MyAnchor anchor) { myVP.add(anchor); myVP.setCellHeight(anchor,"nnpx"); } b) use a Grid with one column. Grid exten

Re: Style issues with VerticalPanel vs FlowPanel

2008-12-05 Thread David H. Cook
After more doc reading, it now seems that the right approach is to use a VerticalPanel (i.e. so that ONE item per line is achieved), but then to alter the panel's border-width and cell-height. But, NOW what I can't quite understand, is how to code the 'setCellHeight' method. (What widget do they

Style issues with VerticalPanel vs FlowPanel

2008-12-05 Thread David H. Cook
Been playing with both a VerticalPanel and a FLowPanel, but I can't find a way to constrain a FlowPanel to just one entry per line. I've got a bunch (about 25) of anchor-elements ( tags). When I add then to a VerticalPanel, I achieve the one item per line, but there is way TOO MUCH wasted white-s