Hi Brian,
Thanks for the reply. (I solved the initial problem by biting the
bullet, and switching to a table. But I'm still curious about this.)
So, if I understand you correctly, I could have an HTMLPanel Cell that
acts as a FlowPanel, and a Container Widget that added 'new HTML
(span
Now I'm not sure if you're trying to prevent wrapping within a table
cell or if you're still considering not using a table and preventing
wrapping between form fields and their labels. However, the solution
is pretty much the same either way.
I think you have the right idea, but using a
I have created a FlowPanel that contains 4 ListBoxes and a button. I
wanted to put some space between the items, so I added empty
HorizontalPanels (with padding: 3px;) as spacers in between each
item. FlowPanel responded by placing each item (including each of the
HorizontalPanels), on its own
On Tue, Nov 30, 2010 at 12:41 PM, Greg Dougherty dougherty.greg...@mayo.edu
wrote:
I have created a FlowPanel that contains 4 ListBoxes and a button. I
wanted to put some space between the items, so I added empty
HorizontalPanels (with padding: 3px;) as spacers in between each
item.
Ah, thanks.
I tried adding padding to my ListBoxes. That caused the inside of the
box to grow, but did not put any space between the borders of the
adjacent boxes, which is the behavior I want.
I put them in a FlowPanel because I want them to flow, one two or
three items per line, depending on
Inserting block-level elements (div, p, etc.) cause exactly what
you're seeing in terms of wrapping, so there isn't any bug there.
So you're saying there's no way to have two elements (say a label and
the thing it's labeling) always stay together within an operable
FlowPanel, since all the ways
First, let's separate two concepts. You suggested using a custom widget to
bundle two things together. While that may bundle them together from a
source code point of view, that custom widget it ultimately rendered as
HTML. Therefore, HTML ultimately defines the rules for how your content will
be