Search code examples
eclipse-rap

How to change the padding of TableItems in Eclipse RAP


I have next situation, look at the picture, please. enter image description here

How can I change this padding value? I need reduce it.


Solution

  • The RWT Theming Reference lists a Table-Cell CSS rule that has a padding property, that

    Defines the padding (i.e. the inner distance between border and content) for a table cell.

    Without having tried, you should be able to specify a custom padding with

    Table-Cell {
      padding: 2px;
    }
    

    See also the RWT Theming chapter of the developer's guide for more.