开发者

GWT UiBinder margin

I have UiBinder exmaple od FlexTable with child elements开发者_如何学编程.

I have a problem, because browsers creates a few px of margin all around child elements in Flextable and around this tabel too. I cannot get rid of this margin - it is impossible to delete it with Firebug or with properties in CSS or style.

What am I doing wrong?

best


You can modify the style of the FlexTable (and child elements) using CSS:

<ui:style>
  .myTable td {
    border-spacing: 0;
  }
</ui:style>
<g:HTMLPanel>
  <g:FlexTable styleName="{style.myTable}" />
</g:HTMLPanel>

More information here

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜