Just use a FlexTable and keep track of row / col yourself. It isn't that
difficult to do.
Regards,
Davis
On Tue, Oct 27, 2009 at 8:04 AM, Halabe wrote:
>
> Hi Thomas,
>
> By using an inline label, the labels were displayed on one line
> however the width of the FlowPanel is fixed.
>
> So, inst
Hi Thomas,
By using an inline label, the labels were displayed on one line
however the width of the FlowPanel is fixed.
So, instead of getting the labels:
text1 text2 text3 text4
text5 text6 text7
I got:
text1 text2 text3 text4 text5 text6 text7
Thanks for your help.
On Oct 27, 1:47 pm, Thom
On 27 oct, 10:29, Halabe wrote:
> Hi,
>
> I am trying to add labels to a flowPanel.
>
> The labels are being added each one on a line which does not reflect
> the real behavior of the flowPanel which is to have them on the same
> line and when the width is full to go to the second line.
FlowPa
Still same issue.
On Oct 27, 12:02 pm, rudolf michael wrote:
> Oh i forget to tell you that you have to set a fixed width for the
> flowpanel.
> if you don't now the width then you can do it onAttach(), but for now to
> test it, just set the width of your flowpanel to a radnom number.
> flowPane
Oh i forget to tell you that you have to set a fixed width for the
flowpanel.
if you don't now the width then you can do it onAttach(), but for now to
test it, just set the width of your flowpanel to a radnom number.
flowPanel.setWidth("600");
On Tue, Oct 27, 2009 at 11:59 AM, Halabe wrote:
>
>
Hi Rudolf,
I tried your solution but it did not work.
I am still get the same!
On Oct 27, 11:53 am, rudolf michael wrote:
> Hello,
> Try to add the following CSS property float:left; for your labels/any div
> inside the FlowPanel
> for (int i = 0; i < 30; i++) {
> Label a = new Label()
Hello,
Try to add the following CSS property float:left; for your labels/any div
inside the FlowPanel
for (int i = 0; i < 30; i++) {
Label a = new Label();
a.setText("test" + i);
a.getElement().getStyle().setProperty("float", "left");
flowPanel.add(a);
}
r
Hi,
I am trying to add labels to a flowPanel.
The labels are being added each one on a line which does not reflect
the real behavior of the flowPanel which is to have them on the same
line and when the width is full to go to the second line.
I tried substituting the label by a checkbox and a te