Kiti
Kiti

Reputation: 543

How to to make a gap between rows in FlowPanel in Css in Gwt?

Look at this imageenter image description here

The picture is showing a FlowPanel that is holding many Labels. If there are more labels then the labels will flow into next row.

However, as you see, there is no gap between rows in this flowpanel.

    .flowPanel{
         spacing:3px;
    }

The above css didn't work.

So, how to make the gap between rows in this flowpanel to 3px in CSS in GWT?

Upvotes: 0

Views: 216

Answers (1)

keaukraine
keaukraine

Reputation: 5364

You need to apply margin-bottom for these elements. They should be display:inline-block (or display:inline-block with float:left) for this to work.

Upvotes: 1

Related Questions