0

 GWT CellTable

In the screenshot above the input width exceeds the column width. How to make it fit perfectly inside a column?

Andrei Volgin
  • 40,755
  • 6
  • 49
  • 58
Ajinkya
  • 111
  • 1
  • 3
  • 13

2 Answers2

0

You need to give your other columns a high width value such as 45% on the other two colums. The remaining column will then be 10% (max) but will alway fit the data within it.

markt
  • 903
  • 7
  • 21
0

Add this to your CSS file:

td input[type="text"], td select {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
}
Andrei Volgin
  • 40,755
  • 6
  • 49
  • 58